Summary
Revert an errored Job
Description
Revert an errored Job to a target Task by Job ID and Task names.
Route
POST /workflow_engine/fixJob
Roles
admin
apiwrite
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
job_id |
string |
yes |
ID of the Job to fix. |
errored_task |
string |
yes |
Name of the errored Task. |
revert_task |
string |
yes |
Name of the target Task. |
Copied to Clipboard
{
"job_id": "adipisicing reprehenderit sint elit",
"errored_task": "ut magna sint",
"revert_task": "est"
}
Copied to Clipboard
{
"type": "object",
"properties": {
"job_id": {
"description": "ID of the Job to fix.",
"type": "string"
},
"errored_task": {
"description": "Name of the errored Task.",
"type": "string"
},
"revert_task": {
"description": "Name of the target Task.",
"type": "string"
}
},
"required": [
"job_id",
"errored_task",
"revert_task"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
reverted_job |
object |
Job after the revert. |
Copied to Clipboard
{
"reverted_job": true
}
Copied to Clipboard
{
"description": "Job after the revert.",
"type": "object",
"properties": {
"reverted_job": true
},
"required": [
"reverted_job"
],
"additionalProperties": false
}