Finding Nemo (get current token "position" for given instance id)

Hello friends!

I cannot find a way how to get token location for concrette process id.

is there any way to do that?

thank you.

ps. image from SOF

Hi @moshell
You can use the RuntimeService to get the activityinstance tree.
See here for documentation:
https://docs.camunda.org/javadoc/camunda-bpm-platform/7.19/org/camunda/bpm/engine/RuntimeService.html#getActivityInstance(java.lang.String)

1 Like

hi! thanks!
i’ve just used

camunda.getRuntimeService().getActiveActivityIds(processInstance.getId())

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.