How to cancel a running process instance (like in the Camunda Cockpit)

970 views
Skip to first unread message

nekron...@gmail.com

unread,
Feb 6, 2014, 4:26:02 AM2/6/14
to camunda-...@googlegroups.com, reif.al...@draexlmaier.de
Hi @ll,

I want to be able to cancel a running process instance like it is possible in the Camunda Cockpit. In the RuntimeService I only found methods to suspend and activate a process, but not to cancel a process instance.

Thanks in advance!

Greetz
Alex

Christian Lipphardt

unread,
Feb 6, 2014, 5:01:59 AM2/6/14
to camunda-...@googlegroups.com, reif.al...@draexlmaier.de, nekron...@gmail.com
Hi Alex,

to cancel / delete a process instance use RuntimeService#deleteProcessInstance(String processInstanceId, String deleteReason).

Cheers,
Christian
Reply all
Reply to author
Forward
0 new messages