-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
None
-
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."