We are trying to use receive task in activiti to wait for some external events. When an external event occurs , we want to query all process instances based on process variable ( which we receive as part of event) and signal the instance to move forward. Also we want to show all waiting instance to the user.
When I looked at activiti API , I can see only see query to fetch executions based on activityId.
- I am looking to query all instances which are in receive task execution . ( probably with condition like where processVar1 = ?)
- Once I retrieve , I want to signal the instances.( which api should we use)
We are using Activiti 6.0
I am looking for some guidance with the available api to achieve this.