Summary
Finish a manual task
Description
Work a manual Task.
Route
POST /operations-manager/jobs/:jobId/tasks/:taskId/finish
Roles
Parameters
Name | Type | Required | Description |
---|---|---|---|
jobId | string | yes | The id of the Job containing the Task to be worked. |
taskId | string | yes | The id of the Task to be worked. |
taskData | object | yes | The data used to complete the manual Task. |
{ "taskData": { "finish_state": "officia Excepteur dolor" } }
{ "type": "object", "properties": { "taskData": { "title": "taskData", "type": "object", "properties": { "finish_state": { "type": "string" }, "variables": { "type": "object" } }, "required": [ "finish_state", "variables" ] } }, "required": [ "taskData" ], "additionalProperties": false }
Return
Name | Type | Description |
---|---|---|
result | object | The result of the finish manual Task operation. |
{ "message": "Successfully created the requested item", "data": { "_id": "0c7cfa12f59189af25c4da6e", "font_size": -61851608, "type": "resource:compliance", "created": "1967-07-20T20:54:36.506Z", "last_updated": "2002-12-17T06:56:49.004Z", "createdVersion": "0630.8157.82", "lastUpdatedVersion": "236634157.1165433641.7132222704", "canvasVersion": 1.5, "encodingVersion": 1, "migrationVersion": -66362293, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 6919712.842641175, "sla": -88700494.89169727, "decorators": [ { "type": "encryption", "pointer": "/~0/V/uvr/j4MOxAZRI,/~1" }, { "type": "encryption", "pointer": "/FLs/~0/~0/~1/L52o8w2b/NfvpLbn8/zYb/rw/hPEoU27+5-K/n/A" }, { "type": "encryption", "pointer": "/fnZlOAplS+/vG//~0/P+UIbv/~0/~1" }, { "type": "encryption", "pointer": "/~1/~1/~1/Ddw/~1/~0/~1/~1" } ], "status": "error", "tags": [], "error": [ { "task": "job", "message": "Job has no available transitions. c841 could have led to the workflow end task, but did not. These tasks performed in a way that the end of the workflow could not be reached.", "timestamp": 1627323002574 }, { "task": "job", "message": "Job has no available transitions. c841 could have led to the workflow end task, but did not. These tasks performed in a way that the end of the workflow could not be reached.", "timestamp": 1627323002574 }, { "task": "job", "message": "Job has no available transitions. c841 could have led to the workflow end task, but did not. These tasks performed in a way that the end of the workflow could not be reached.", "timestamp": 1627323002574 }, { "task": "job", "message": "Job has no available transitions. c841 could have led to the workflow end task, but did not. These tasks performed in a way that the end of the workflow could not be reached.", "timestamp": 1627323002574 } ], "warnings": [ { "task": "3a1f", "name": "myCoolDocumentName", "message": "commodo officia id reprehenderit" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "3a1f", "name": "myCoolDocumentName" } ], "ancestors": null, "validationErrors": [ { "keyword": "labore dolore", "instancePath": "sit proident ipsum adipisicing dolore", "schemaPath": "cillum ea", "message": "in elit sint reprehenderit dolore" }, { "keyword": "ullamco deserunt id", "instancePath": "Lorem eiusmod veniam amet sed", "schemaPath": "commodo do cillum labore reprehenderit", "message": "cupidatat ex magna proident" }, { "keyword": "nulla", "instancePath": "laborum", "schemaPath": "id pariatur cillum nisi dolore", "message": "minim sit occaecat elit" }, { "keyword": "eu aliquip", "instancePath": "pariatur", "schemaPath": "elit", "message": "exercitation esse quis deserunt" } ], "created_by": null, "last_updated_by": "Pronghorn", "tasks": { "862": { "actor": "job", "groups": [ "dc266db86648e6277c5ae4f7" ], "iterations": [ "BC9b0D81-0FBE-6CCe-89ce-b1eBc952eB5d", "A7177E04-a9Ce-CDbE-2EC5-fF661e3F9306" ], "x": 92961322.07834473, "y": 87905509.25216043, "gridCoordinate": { "x": -56658285.51817094, "y": -35162441.71600556 }, "name": "sit sint", "location": "Application", "locationType": null, "app": "reprehenderit fugiat velit Ut", "canvasName": "ad cupidatat aliqua ut", "displayName": "elit fugiat do voluptate", "summary": "velit Excepteur adipisicing veniam", "description": "Lorem", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~0/~0/Af2m5vkiB/Op/~1/~0" }, { "type": "encryption", "pointer": "/~0/LVh/hjV4YH" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "adipisicing aute", "highlightString": "proident ipsum nulla" }, { "key": "Duis ut minim voluptate magna", "highlightString": "velit proident" }, { "key": "in qui fugiat", "highlightString": "ex ad" }, { "key": "pariatur ex minim mollit", "highlightString": "reprehenderit nostrud deserunt sed" }, { "key": "irure", "highlightString": "fugiat enim" } ], "status": "incomplete", "previous": { "incomplete": [ "error_handler" ], "complete": [ "error_handler", "3a1f", "workflow_start", "error_handler" ], "error": [ "workflow_end", "3a1f" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "3a1f", "type": "revert" }, { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "e28f", "type": "loop" }, { "task": "e28f", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "loop" } ] }, "serverId": "id do nisi esse", "start_time": "1985-10-27T04:01:41.363Z", "end_time": 48119393.866344005, "finish_state": "failure", "retrySettings": { "state": [ "success", "error", "error" ], "autoRetry": true, "limit": 61529621, "delay": 98478747, "count": 86941487, "finishedRetrying": true }, "type": "manual", "view": "velit laborum" }, "workflow_start": { "x": -17059295.35115476, "y": -8302309.471563697, "gridCoordinate": { "x": -92284896.6791734, "y": 94502329.24775133 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -29771659.33830999, "finish_state": "failure", "user": { "_id": "73cc9dbeceab7b7442e9444b", "provenance": "do dolor in", "username": "deserunt do", "firstname": "aute officia adipisicing Duis", "memberOf": [ { "groupId": "91be23eddadfe9b80ed90ba4", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "sint dolor anim commodo" } ], "inactive": true, "lastLogin": "1973-07-22T03:54:41.705Z", "_meta": { "created": "2021-08-06T04:21:40.5Z", "updated": "2003-06-07T03:18:39.892Z", "migrationVersion": 78230285 }, "email": "ut deserunt elit irure" } }, "groups": [ { "_id": "d7832dd025c0cb49ea5f5a48", "provenance": "cupidatat officia do", "name": "Lorem", "description": "sint proident officia occaecat deserunt", "memberOf": [ { "groupId": "51e7d14a6acd4a0878a0b115", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ea laboris aliqua adipisicing" }, { "roleId": "sint culpa in nisi aute" }, { "roleId": "commodo sed anim" } ], "inactive": true, "_meta": { "created": "2018-08-28T09:22:42.226Z", "updated": "1948-05-14T21:32:42.403Z", "migrationVersion": 22963696 } }, { "_id": "fd20111df6b4e62cabff4569", "provenance": "cupidatat qui et deserunt", "name": "eiusmod do quis", "description": "exercitation labore magna", "memberOf": [ { "groupId": "904c85bec472873da0e413cc", "aaaManaged": false }, { "groupId": "ccc5775818709ba995ef3879", "aaaManaged": true }, { "groupId": "33c4ca2e288891d96bad6d8a", "aaaManaged": true }, { "groupId": "ae5c43b36042eb3bf8f54714", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "nisi dolore" }, { "roleId": "in officia aliquip pariatur" }, { "roleId": "eu ut magna cillum" }, { "roleId": "sunt laboris minim fugiat est" }, { "roleId": "irure sed ullamco in" } ], "inactive": false, "_meta": { "created": "2020-09-19T00:22:27.183Z", "updated": "1982-04-07T05:34:53.975Z", "migrationVersion": 39190647 } }, { "_id": "b3a49592bc7f20864032c991", "provenance": "dolor qui eiusmod", "name": "ex in", "description": "nisi", "memberOf": [ { "groupId": "97109bd02eea932724101dcd", "aaaManaged": true }, { "groupId": "6a7efc3347c865ad8173764a", "aaaManaged": false }, { "groupId": "1229a03e84ce4dfe0070d4fd", "aaaManaged": false }, { "groupId": "726eb89f45d0f1457c96af2b", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "consequat anim quis" } ], "inactive": true, "_meta": { "created": "2011-07-21T09:04:23.209Z", "updated": "1955-06-03T10:08:03.121Z", "migrationVersion": -99484973 } }, "default", "default" ], "iterations": [ "92F5999b-0c9C-32fa-1Ea2-bbF3cbFc80B1" ] }, "workflow_end": { "x": -71785903.75798853, "y": 95796252.05997398, "gridCoordinate": { "x": -12463189.890233293, "y": 61478865.12635511 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "3a1f" ], "complete": [ "e28f", "error_handler", "e28f" ], "error": [ "error_handler", "workflow_start" ] }, "metrics": { "end_time": 21443913.938783646, "run_time": -69724870.2322415 }, "groups": [ "default" ], "iterations": [ "Ea365eCa-C3Bb-0cBa-179E-BCA31bb3374A" ] }, "error_handler": { "x": 22236595.19347319, "y": 21423165.17159033, "gridCoordinate": { "x": 53134647.13129115, "y": -9198342.163811818 }, "name": "childJob", "location": "Broker", "locationType": "proident Excepteur Duis aute", "app": "aliqua mollit Lorem voluptate commodo", "canvasName": "commodo culpa mollit", "displayName": "culpa consequat", "summary": "id anim magna minim aliquip", "description": "irure in esse aliqua minim", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~0" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "cupidatat in dolore do", "highlightString": "dolor" }, { "key": "Lorem do elit officia esse", "highlightString": "veniam qui" }, { "key": "laboris nisi Lorem", "highlightString": "eu Excepteur dolor ad est" } ], "status": "incomplete", "previous": { "incomplete": [ "workflow_end", "e28f", "e28f" ], "complete": [ "workflow_start", "workflow_end", "workflow_end", "error_handler" ], "error": [ "workflow_end", "e28f", "workflow_start", "3a1f", "workflow_start" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "3a1f", "type": "standard" }, { "task": "workflow_start", "type": "revert" }, { "task": "e28f", "type": "loop" }, { "task": "e28f", "type": "standard" } ], "failure": [ { "task": "3a1f", "type": "standard" }, { "task": "3a1f", "type": "loop" }, { "task": "3a1f", "type": "loop" } ], "error": [ { "task": "error_handler", "type": "revert" } ] }, "serverId": "esse dolor pariatur dolor", "start_time": "1996-02-17T04:55:56.04Z", "end_time": -96106537.34006456, "finish_state": "success", "retrySettings": null, "type": "operation", "actor": { "_id": "92adceed5997d1b5825750ce", "provenance": "proident exercitation deserunt", "username": "dolor ut Duis", "firstname": "ipsum reprehenderit anim", "memberOf": [ { "groupId": "7aad11d3f7b11406e88f579d", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "commodo fugiat mollit cillum qui" }, { "roleId": "ut" }, { "roleId": "eu ut" }, { "roleId": "pariatur est" }, { "roleId": "qui ipsum Duis ex" } ], "inactive": true, "lastLogin": "2006-12-06T23:28:51.078Z", "_meta": { "created": "2012-01-08T02:49:38.637Z", "updated": "1961-08-31T13:02:41.805Z", "migrationVersion": 63786923 }, "email": "ea et deserunt in" }, "groups": [ "default" ], "iterations": [ "a89b4259-71ec-89f3-Bd9E-ed82598b8DC1" ] } }, "parent": { "job": "et laborum ipsum", "task": "magna consequat veniam occaecat", "iteration": 87131404.31814244, "element": 34176206.54505792 }, "errorHandler": null, "groups": [ "ee0a3aef41cb78a4cc6ac12d", "default" ], "watchers": [ { "_id": "7580b6624145f364a8e3e22f", "provenance": "aute minim cupidatat sed", "username": "voluptate nostrud est", "firstname": "Excepteur sunt qui consequat", "memberOf": [ { "groupId": "d1b4dcba2b08b612005b158d", "aaaManaged": false }, { "groupId": "15afba54addcadf03c95c34d", "aaaManaged": true }, { "groupId": "66e091ef0e301a5e312cf16f", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ut" }, { "roleId": "sed aliqua ullamco irure voluptate" }, { "roleId": "qui sint in culpa" }, { "roleId": "dolor" } ], "inactive": true, "lastLogin": "2019-05-03T19:54:26.457Z", "_meta": { "created": "2006-11-24T05:02:46.727Z", "updated": "1989-05-30T18:50:49.801Z", "migrationVersion": -54702950 }, "email": "officia" } ], "metrics": { "start_time": -80040647.00618932, "progress": 0.16675684554622516, "end_time": 49224708.864341885, "user": "Pronghorn", "owner": "8665fea1fb93a6801cb43188" } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }