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?
/** 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);