Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Activate Cancel process instance

82 views
Skip to first unread message

JavaCode

unread,
Mar 7, 2016, 4:46:27 AM3/7/16
to camunda BPM users
Hello,

I would like to know if there is any rest method to activate a canceling process instance ?

Regards,

thorben....@camunda.com

unread,
Mar 7, 2016, 5:04:21 AM3/7/16
to camunda BPM users
Hi,

What exactly do you mean by "activate a cancelling process instance"? Can you please give an example?

Cheers,
Thorben

JavaCode

unread,
Mar 7, 2016, 5:21:30 AM3/7/16
to camunda BPM users

I canceled by mistake a process instance through the cockpit and i want to return back to the old state < Running >.

thorben....@camunda.com

unread,
Mar 7, 2016, 7:09:45 AM3/7/16
to camunda-...@googlegroups.com
Hi,

There is no feature to restore a process instance to its previous state once it has been cancelled.

You could try to start a new process instance in the desired state and set all the variables as they were before. This can be done using the API to start a process instance [1] (note the instructions that allow you to start anywhere in the process model) and various APIs to set variables.

Cheers,
Thorben

[1] https://docs.camunda.org/manual/7.4/reference/rest/process-definition/post-start-process-instance/
Reply all
Reply to author
Forward
0 new messages