1
votes

I am working with Activiti API and, in my project, I have a panel which allows the users to suspend a process instance. In order to make this suspension, I am following the steps listed here, however I would like to save somehow the logged user who has suspended the process, is it possible?

I have already a String with the user in my code, but I don't know how could I save it on Activiti data base as the user who has suspended the process instance.

Thanks in advance!

1

1 Answers

0
votes

In the UI you are using to call "suspend", you should call the API to create a process variable with the userId THEN call suspend.

The API to create a process variable is here: http://www.activiti.org/userguide/#_create_or_update_variables_on_a_process_instance