cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot delete process instance or task using the rest api

ssun
Champ on-the-rise
Champ on-the-rise
When follow
http://activiti.org/userguide/#N13C50
http://activiti.org/userguide/#N1499D
My request always got 403 forbidden. Even though I'm using admin account.

Thank you!
5 REPLIES 5

ssun
Champ on-the-rise
Champ on-the-rise
I think I probably have to fist close the task?

trademak
Star Contributor
Star Contributor
Deleting a process instance should always be possible. We have unit tests for this which run fine.
Do you have a stacktrace in the REST server log?

Best regards,

ssun
Champ on-the-rise
Champ on-the-rise
The only log I have is the local access log:

0:0:0:0:0:0:0:1 - - [20/Jun/2014:15:26:01 -0700] "DELETE /activiti-rest/service/runtime/process-instances/580446 HTTP/1.1" 403 -

I'm also attaching a screenshot of the tool I use to issue the request. Please rename from .txt to .png to see it.

ssun
Champ on-the-rise
Champ on-the-rise
I believe something is wrong with
org.restlet-2.0.15.jar
I added logs to
https://github.com/Activiti/Activiti/blob/master/modules/activiti-rest/src/main/java/org/activiti/re...
It does not reach there at all.
My other logs in the same file for @Get @Put all works.

I think I need to upgrade.

ssun
Champ on-the-rise
Champ on-the-rise
Updated to Activiti 5.15 and problem gone.