How to delete process instance in community version
I have read this document: Delete Process Instance | docs.camunda.org
And tried like below but giving error, please let me know where I am doing wrong. Thank you.
POMEngine is my camunda process engine name (I am trying with spring booth camunda).
The request must be HTTP DELETE, not HTTP POST.
By default you should not have to specify the process engine - did you change the name?
Thank you Michael, for your response.
Yes, I have given a new name for camunda engine like below in spring properties:
I have changed to DELETE but still showing same error:
Here the instance id is in incident state so I want to delete the existing instance (which is in failure state) and want to create a new instance with same data but unable to find the delete option in cock pit so tried this way and not working. please help here where I am doing wrong. Thank you.
@venky1982 try by removing DELETE from the api endpoint and keep the http request to DELETE. Like → localhost:5905/engine-rest/engine/POMEngine/process-instance/
You can also delete from cockpit by going into the running process instance.
Hope this helps!
Thank you so much Arjun, it helped.