Retrieving workstep instances
You can retrieve a list of workstep instances of a ProcessInstance using the following API.
public WorkStepInstanceList getWorkStepInstanceList ()
You can retrieve a list of suspended workstep instances of a ProcessTemplate using the following API.
public WorkStepInstanceList getSuspended WorkStepInstanceList ()