i have a process, by which in a multiinstance block there is an intermediate cathing event, it should correlate messages sent from another application. But for some reason, by multiInstance if a message for one instance is not sent the event, the activity instance will be marked as canceled. Why? Should it not always waiting at event task?
So my general question is, When will an activity instance be canceled? I have searched in the document but found nothing.
could you please tell me, where can i get which activity instance is cancelled?
In camunda Database there is a table named act_ru_execution, i could query all the activity instances belonging to the the process instance, but i couldn’t find some state like canceled.
You are right, you need two queries, it is not possible to achieve this only with one.
When you use canceled() and unfinished() they are related with and connection (conjunctive) and not with or (disjunctive).