Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-10848

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

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • assert-8.0.0
    • None
    • 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

              Unassigned Unassigned
              tobias.metzke Tobias Metzke-Bernstein
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: