How to complete a RHPAM User Taks using API call?

Solution Unverified - Updated -

Issue

I have a User Task in my process which is currently in the Reserved state and the owner of the task is rhpamAdmin. I want to mark this task as completed through a REST API. I tried using this API: /server/containers/{Process ID}/tasks/{Task Instance ID}/states/completed. The API returned this message: User '[UserImpl:'rhpamAdmin']' was unable to execute operation 'Complete' on task id 105 due to a no 'current status' match.

Environment

  • Red Hat Process Automation Manager (RHPAM) 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content