Helper mehod "job(activity)" not working when there are multiple jobs

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Fixed
    • Priority: L3 - Default
    • assert-8.0.0
    • Affects Version/s: None
    • Component/s: assert
    • None

      Created on behalf of the following issue:
      https://github.com/camunda/camunda-bpm-assert/issues/120

      Original description:
      "I have a process waiting at an intermediate message catch event, while at the same time there is a timer event subprocess. When I call BpmnAwareTests.job(activityIfOfTheMessageCatchEvent) it throws "Query return 2 results instead of max 1" because the JobQuery in ProcessInstanceAssert.java:630 finds both jobs, the message and the timer.

      I think it would be better to call the JobQuery not with the executionId, but with the activityId."

        This is the controller panel for Smart Panels app

              Assignee:
              Unassigned
              Reporter:
              Tobias Metzke-Bernstein
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: