Execute an Action on a Task
Request
Operation Endpoint:
POST {workflowPath}/workflow/{tenantId} /tasks/{taskId}/_action
Parameter | Required | Description | |
---|---|---|---|
Headers | Authorization |
Yes | Access Token in format "Bearer
(see details in
Authentication API). |
Content-Type |
Yes | Should be " . |
|
EnvironmentURL |
Yes | Reltio Environment URL. | |
Body | action | Yes | Action for the task. |
processInstanceComment |
No | User comment. |
Example
Sample Request JSON:
{ "action": "Approve", "processInstanceComment": "Entity
Update approved"}
Response
Response Structure:
error
- returned if an error is encountered, contains details of the issue:errorCode
- 5-digit error codeerrorMessage
- error messageerrorData
- details of the error:exception
- exception messagestack
- stack trace
innerError
- details of the error from Reltio API:errorMessage
- Reltio API error messageerrorCode
- Reltio API error codeinnerErrorData
- Reltio API inner error data
warning
- returned if the operation is completed with some minor issuesstatus
- result of the operation; possible values are "OK" or "failed"
Example
Sample Response JSON:
{ "status":"OK"}