Determine the activityInstanceId of the parent task on a boundary event?
If we have a non-interrupting timer on a human task, how do we get the activityInstanceId of the parent task?
The ActivityInstance's parentId returns the processInstanceId.
Our use case: we want to email the possible approvers of the task once it has been initialized as the possible approvers use a custom user filter, so we'll look at processAPI.getPossibleUsersOfPendingHumanTask(processDefInitionId,parentHumanTaskId,0,10) ;
If you have the BoundaryEventInstance object, there is an activityInstanceId attribute on it: