Cleaning up process engine incidents

329 views
Skip to first unread message

jhorst...@googlemail.com

unread,
Aug 11, 2014, 9:08:24 AM8/11/14
to camunda-...@googlegroups.com
Assuming I have several process instances that ran into incidents, and that these processes were solved "manually", outside of the process engine. Whats the best way to clean up the process instances? Is it safe to delete all entries from the runtime tables corresponding to an instance and its executions, and is there maybe an existing script or command for this?

Thanks,
Jörn Horstmann

webcyberrob

unread,
Aug 11, 2014, 5:53:32 PM8/11/14
to camunda-...@googlegroups.com
Hi,

You may be interested in this thread in the forum...

https://groups.google.com/forum/#!topic/camunda-bpm-users/6ND52cRcokc

regards

Rob

jhorst...@googlemail.com

unread,
Aug 22, 2014, 4:56:13 AM8/22/14
to camunda-...@googlegroups.com, jhorst...@googlemail.com
So the camunda cockpit already has exactly the functionality I need via the "cancel running process instance" button / rest call. This uses the RuntimeServer.deleteProcessInstance method internally, which could take a second string giving the deletion reason. It would be useful for me to expose this second param also via the rest api, to document why this processes were canceled.

I noticed that there are two different commands, DeleteProcessInstanceCmd and FoxDeleteProcessInstanceCmd, what is the difference between these two?

Thanks,
Jörn
Reply all
Reply to author
Forward
0 new messages