How to abort a running Process instance

562 views
Skip to first unread message

Anand Parthiban

unread,
Nov 4, 2016, 3:47:23 AM11/4/16
to jBPM Usage
Hi All,

KIE-SERVER 6.4.0

I want to know the API to delete a running process instance

Currently using DELETE Method http://IP:PORT/kie-server/services/rest/server/container/{id}/processes/instances/{PiD}

But it gives me "Unexpected Error during processing: Organizational Entity already exists with [GroupImpl: 'admin'] id, please check that there is no group and user with same id"


Let me know if anyone can help

Maciej Swiderski

unread,
Nov 4, 2016, 4:15:12 AM11/4/16
to Anand Parthiban, jBPM Usage
as the error states, make sure you don't have a user that is admin and that have role assigned named admin as well.

the endpoint is the right one to delete/abort process instance.

Maciej

--
You received this message because you are subscribed to the Google Groups "jBPM Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-usage+unsubscribe@googlegroups.com.
To post to this group, send email to jbpm-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbpm-usage/eae9f603-d7de-40aa-b20a-a7a876aec243%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Anand Parthiban

unread,
Nov 4, 2016, 4:32:54 AM11/4/16
to Maciej Swiderski, jBPM Usage
Thanks Maciej.

But how is that related to aborting instances

Sent from my iPhone

Maciej Swiderski

unread,
Nov 4, 2016, 4:37:06 AM11/4/16
to Anand Parthiban, jBPM Usage
most likely there is a user task that is active so it needs to abort it as well and that's where the org entity comes into picture

Maciej
Reply all
Reply to author
Forward
0 new messages