How can i retrieve the ActivityInstanceId?

Hi ,

I need to retrieve the ActivityInstanceId for a user.

thnks

Hello,

This variable is a provided variable.
If you want to retrieve it from a groovy script, like a script used to init a business var, you can select it from the list of provided variables :
Access to a provided variable

I found this answer by searching “ActivityInstanceId” in the bonita documentation in the second result:
Search for ActivityInstanceId
result

Thanks for your reply,

i would like to retrieve the ActivityInstacneId , but using API REST , in order to use it into my personal webpage .