I have the following scenario:
- 2 CMMN cases (case1 and case2)
- case1 has a case task used to call case2
- case1 passes the businessKey to case2 via case task
I want to retrieve all task available from an instance of case1 that is linked to an instance of case2. I would like all tasks, completed or not and from both instances.
Is possible to do it only using caseInstanceBusinessKey from TaskQuery?
If no, how could it be done?
Thanks a lot