We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

cancel a completed process with rest api

Received Response
10
Views
2
Comments
edited May 26, 2020 10:05AM in Process Automation 2 comments

Summary

cancel a completed process with rest api

Content

In which way I can cancel a completed process with rest api?

I treid with this api:

https://xxxxxxxxx.integration.ocp.oraclecloud.com/ic/api/process/v1/processes/70003

with Basic Authentication and body { "id":"cancel" }, but it returns "Invalid action on process instance or user does not have privilege to perform this action"

But I am the process owner and the process is
        {
            "title": "Scheda Verde del 20-05-2020 - Test New | 201368",
            "processId": "70003",
            "processName": "SchedaVerdeProcess",
            "priority": 5,
            "ownedBy": "SchedaVerde.ProcessOwner",
            "processNumber": 201362,
            "createdBy": "xxxxxx",
            "state": "COMPLETED",
            "createdDate": "2020-05-20T12:33:37.000Z",
            "updatedDate": "2020-05-20T12:41:06.000Z",

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!