Unify and manage your data

Update Multiple Group Tasks by Filter

This operation enables you to update multiple group of tasks by using a filter.

Request

Operation Endpoint:

PUT {workflowPath}/workflow/{tenantId}/groupTasks/_withFilter
Table 1. Parameters
ParameterNameRequiredDetails
HeadersAuthorizationYes Access Token in format Bearer <accessToken> (see details in Authentication API).
Content-TypeYesContent-Type: application/json.
EnvironmentURLYesReltio environmental URL.
BodyfilterYesTask filter.
assigneeNoTask assignee.
processInstanceIdNoProcess instance ID.
processTypeNoProcess definition type.
suspendedNoBoolean state of the task: possibilities are true or false.
createdByNoInitiator of the process instance.
priorityClassNoPriority class of the tasks.
taskTypeNoType of tasks.
createdAfterNoTime in milliseconds.
createdBeforeNoTime in milliseconds.
stateNoValidation state of the process instance (default = all); will return tasks with any state.
objectURIsNoList of Reltio object URIs (entity/relation). Filtering by AND-condition.
variablesNoList of Reltio task variables. Each variable is a pair of keys and values.
local variablesNoList of Reltio local task variables. Each variable is a pair of keys and values.
objectFilterNo A search filter expression that lets you retrieve only workflow tasks linked to entities that match the criteria.
Note: This parameter is appended to the system-generated filters that select open workflow tasks. Only tasks associated with currently existing entities are included. For more information, see topic Filter workflow tasks using entity attributes.
changesYesList of changes.
objectURIsNoList of Reltio object URIs (entity/relation). Filtering by AND-condition.
assigneeNoAssignee of the active task.
dueDateNoTime in milliseconds.
processInstanceCommentNoComment in string format.
priorityNoTask priority.
excludeNoList of tasks in string format.

Sample Request JSON:

  
{
  "filter": {
    "assignee": "user1",
    "processInstanceId": "23726741",
    "processType": "dataChangeRequestReview",
    "suspended": true,
    "createdBy": "user2",
    "priorityClass": "Urgent",
    "taskType": "dcrReview",
    "createdAfter": 1601486621140,
    "createdBefore": 1601486621140,
    "state": "valid"
  },
  "changes": {
    "assignee": "string",
    "dueDate": 0,
    "processInstanceComment": "string",
    "priority": 1
  }
}

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
  • status: Result of the operation; possible values are OK or failed

Example

{workflowPath}/workflow/{tenantId}/groupTasks/_withFilter

Sample Response JSON:

{
   "status":"OK",
   "backgroundTaskId":"2b1ac782-1459-45e0-979a-8f1fc65e50fd"
}

For more information, see Retrieve Group Tasks for a User.