Cancel process - User with administration rights gets "The user [xxxx] does not have sufficient privileges to perform the requested action" message

Hi,

This is my use case:

- I have a process launched waiting on a user tasks. The process was launched via webapi, and it gets the security configuration from its process model, as usual.
- The security on the process model is setted to give Administration rights to the service account represented by api-key I'm using on my web apis
- From another web-api using the same api-key, I execute cancelProcess function, and I get an error talking about inssuficient privileges to do the cancel

To my understanding, the process should cancel without errors because the service account used in web-api has administration rights on the process I want to cancel, but this is not what is happenning.

Any help will be appreciated

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data