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

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

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Fixed
    • L3 - Default
    • assert-8.0.0
    • None
    • assert
    • None

    Description

      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."

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce