cancel
Showing results for 
Search instead for 
Did you mean: 

Traversing the process model

unknown-user
Champ on-the-rise
Champ on-the-rise
Hi all,

For some reasons, being at one UserTask, I need to "look ahead" in my process and I need to read the content of Activiti custom extension attributes.
What would be the best approach to do that in Activiti 5.3?

Thanks,
Markus
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
Seeing 'future' steps is not that trivial. You could try to get a ReadOnlyProcessDefinition by calling the  public ReadOnlyProcessDefinition getDeployedProcessDefinition(String processDefinitionId) on RespositoryServiceImpl (you would need to cast your RepositoryService)