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