cancel
Showing results for 
Search instead for 
Did you mean: 

any api to get the current node?

jonlee
Champ in-the-making
Champ in-the-making
hi

is there any api to get the current-node name from processInstance or proccessDefinition?

when I start a processInstance, calling 'startProcessInstanceById(processDefId)', and the method return a processInstance
I want to get the current-node name from this instance, can I? if not, any other api to get the current-node name?

thanks for any advices
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
runtimeService:

  /** Finds the activity ids for all executions that are waiting in activities.
   * This is a list because a single activity can be active multiple times.
   * @param executionId id of the execution, cannot be null.
   * @throws ActivitiException when no execution exists with the given executionId.
   */
  List<String> getActiveActivityIds(String executionId);