ProcessService.getInstancesByActivity(activity,processId)

Gets all the instances currently located in the activity of the process received as argument.

Arguments:

Name Type Description Mode
activity String The activity id of the required process instances in
processId String The id of the process where to find the instances in