In one of our workflows, there is a scenario where we create N user tasks in a service activity when all the N users tasks are completed we want to invoke another activity, we would like to see if this can be achieved within the workflow.
Note: One of the ways we are already aware of is that using the TaskListener (we are already using reactorTaskListener), by subscribing to task completion event. But it would be very inefficient because if the activity creates 100 tasks we need to check 100 times after completion of every task.
Is there a better way of handling this?