cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the current activiti

amir_kourani
Champ in-the-making
Champ in-the-making
Hi,
If i have the processInstanceId(ExcuctionId), how i can get at which activiti this process instance is.
using the TaskService i can get the the current task but that will not help me if the process instance is currently at gateway or
receiving message.
Thanks
1 REPLY 1

trademak
Star Contributor
Star Contributor
You can use the RuntimeService getActiveActivityIds(executionId) method to get one or more activities that are currently active.

Best regards,