Accelerate the Value of Data

Update a Task

Update a task

This operation is used to update a task: change assignee, due date.

Request

Operation Endpoint:

 PUT {workflowPath}/workflow/{tenantId} /tasks/{taskId} 
Table 1. Parameters
Parameter Required Description
Headers Authorization Yes Access Token in format "Bearer <accessToken>" (see details in Authentication API).
Content-Type Yes Should be "Content-Type: application/json" .
EnvironmentURL Yes Reltio Environment URL.
Body assignee No Assignee for the task.
processInstanceComment No User comment on the process instance.
objectURIs No Object URIs on the process instance.
dueDate No Due date for the task.
priority No Task priority.

Sample Request JSON:

Sample Request JSON:

{
    "assignee" : "user2",
    "processInstanceComment" : "Reassign
        task",
    "objectURIs" : ["entities/e1", "entities/e3"],
   
        "dueDate" : 1234567890,
    "priority" : 10
}

Response

Response Structure:

  • error- returned if an error is encountered, contains details of the issue:
    • errorCode- 5-digit error code
    • errorMessage- error message
    • errorData- details of the error:
      • exception- exception message
      • stack- stack trace
    • innerError - details of the error from Reltio API:
      • errorMessage- Reltio API error message
      • errorCode- Reltio API error code
      • innerErrorData- Reltio API inner error data
  • warning- returned if the operation is completed with some minor issues
  • status- result of the operation; possible values are "OK" or "failed"

Sample Response JSON:

{ "status":"OK"}
Note: For DCR process, the change request URI cannot be modified.