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,
"schema-workflow": {
"api-version": "string",
"icon-id": "string",
"object-name": "string",
"schemaLocation": "string",
"description": "string",
"workflow-item": [
{
"end-mode": "string",
"color": "string",
"description": "string",
"type": "string",
"reference": {
"id": "string",
"type": "string"
},
"presentation": {
"p-qual": [
{
"kind": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"p-group": [
{
"p-qual": [
{
"kind": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"title": "string",
"p-param": [
{
"p-qual": [
{
"kind": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"name": "string",
"desc": "string"
}
],
"desc": "string"
}
],
"p-step": [
{
"p-qual": [
{
"kind": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"p-group": [
{
"p-qual": [
{
"kind": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"title": "string",
"p-param": [
{
"p-qual": [
{
"kind": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"name": "string",
"desc": "string"
}
],
"desc": "string"
}
],
"title": "string",
"p-param": [
{
"p-qual": [
{
"kind": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"name": "string",
"desc": "string"
}
],
"desc": "string"
}
],
"p-param": [
{
"p-qual": [
{
"kind": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"name": "string",
"desc": "string"
}
],
"desc": "string"
},
"out-name": "string",
"prototype-id": "string",
"catch-name": "string",
"out-binding": {
"bind": [
{
"export-name": "string",
"name": "string",
"description": "string",
"type": "string"
}
]
},
"alt-out-name": "string",
"throw-bind-name": "string",
"business-status": "string",
"launched-workflow-id": "string",
"content-mode": "string",
"iteration-catch-block": {
"script": {
"value": "string",
"encoded": false
}
},
"script-module": "string",
"script": {
"value": "string",
"encoded": false
},
"linked-workflow-id": "string",
"comparator": 0,
"condition": [
{
"comparator": "string",
"name": "string",
"label": "string",
"type": "string",
"value": "string"
}
],
"display-name": "string",
"in-binding": {
"bind": [
{
"export-name": "string",
"name": "string",
"description": "string",
"type": "string"
}
]
},
"workflow-subelements-list": {
"workflow-subelement": [
{
"display-name": "string",
"in-binding": {
"bind": [
{
"export-name": "string",
"name": "string",
"description": "string",
"type": "string"
}
]
},
"name": "string",
"out-binding": {
"bind": [
{
"export-name": "string",
"name": "string",
"description": "string",
"type": "string"
}
]
},
"linked-workflow-id": "string"
}
]
},
"name": "string",
"interaction": "string",
"position": {
"x": "number",
"y": "number"
},
"conditions": {
"condition": [
{
"comparator": "string",
"name": "string",
"label": "string",
"type": "string",
"value": "string"
}
]
}
}
],
"workflow-note": [
{
"color": "string",
"w": "number",
"x": "number",
"h": "number",
"description": "string",
"y": "number"
}
],
"version": "string",
"ref-types": "string",
"allowed-operations": "string",
"output": {
"param": [
{
"name": "string",
"description": "string",
"type": "string"
}
]
},
"presentation": {
"p-qual": [
{
"kind": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"p-group": [
{
"p-qual": [
{
"kind": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"title": "string",
"p-param": [
{
"p-qual": [
{
"kind": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"name": "string",
"desc": "string"
}
],
"desc": "string"
}
],
"p-step": [
{
"p-qual": [
{
"kind": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"p-group": [
{
"p-qual": [
{
"kind": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"title": "string",
"p-param": [
{
"p-qual": [
{
"kind": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"name": "string",
"desc": "string"
}
],
"desc": "string"
}
],
"title": "string",
"p-param": [
{
"p-qual": [
{
"kind": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"name": "string",
"desc": "string"
}
],
"desc": "string"
}
],
"p-param": [
{
"p-qual": [
{
"kind": "string",
"name": "string",
"type": "string",
"value": "string"
}
],
"name": "string",
"desc": "string"
}
],
"desc": "string"
},
"input": {
"param": [
{
"name": "string",
"description": "string",
"type": "string"
}
]
},
"restartMode": 0,
"resumeFromFailedMode": 0,
"error-handler": [
{
"name": "string",
"position": {
"x": "number",
"y": "number"
},
"throw-bind-name": "string"
}
],
"display-name": "string",
"attrib": [
{
"scope": "string",
"name": "string",
"encrypt-value": false,
"description": "string",
"type": "string",
"value": {
"objectType": "string"
},
"updated": false
}
],
"root-name": "string",
"position": {
"x": "number",
"y": "number"
},
"id": "string"
},
"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",
"encrypt-value": false,
"description": "string",
"type": "string",
"value": {
"objectType": "string"
},
"updated": false
}
],
"version": "string",
"outputParameters": [
{
"scope": "string",
"name": "string",
"encrypt-value": false,
"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",
"encrypt-value": false,
"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