Update Task
Use this endpoint to update an already scheduled task. If the scheduling date is changed, the original task is rescheduled. It is not allowed to update the scheduled workflow. To update the scheduled workflow, remove the current task and schedule a new one.
id
{
"recurrence-start-date": "string",
"recurrence-end-date": "string",
"recurrence-pattern": "string",
"start-mode": "string",
"name": "string",
"description": "string",
"recurrence-cycle": "string",
"id": "string",
"state": "string"
}
recurrence-start-date
recurrence-end-date
recurrence-pattern
start-mode
name
description
recurrence-cycle
id
state
The request is successful
{
"recurrence-pattern": "string",
"workflow": {
"customized-icon": false,
"name": "string",
"description": "string",
"href": "string",
"id": "string",
"relations": {
"total": 0,
"start": 0,
"link": [
{
"rel": "string",
"attribute": [
{
"displayValue": "string",
"name": "string",
"value": "string"
}
],
"href": "string",
"type": "string"
}
]
},
"inputParameters": [
{
"scope": "string",
"name": "string",
"description": "string",
"type": "string",
"value": {
"objectType": "string"
},
"updated": false
}
],
"version": "string",
"outputParameters": [
{
"scope": "string",
"name": "string",
"description": "string",
"type": "string",
"value": {
"objectType": "string"
},
"updated": false
}
]
},
"description": "string",
"recurrence-cycle": "string",
"recurrence-start-date": "string",
"recurrence-end-date": "string",
"start-mode": "string",
"parameter": [
{
"scope": "string",
"name": "string",
"description": "string",
"type": "string",
"value": {
"objectType": "string"
},
"updated": false
}
],
"name": "string",
"href": "string",
"id": "string",
"state": "string",
"relations": {
"total": 0,
"start": 0,
"link": [
{
"rel": "string",
"attribute": [
{
"displayValue": "string",
"name": "string",
"value": "string"
}
],
"href": "string",
"type": "string"
}
]
},
"user": "string"
}
recurrence-pattern
description
recurrence-cycle
recurrence-start-date
recurrence-end-date
start-mode
name
href
id
state
user
The request is invalid(validation error)
The user is not authorized
Can not find a task with the specified ID or the user does not have 'read' access rights for that workflow