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 ut" } }
{ "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": "69c9be8ea26eed9feb9c8564", "font_size": 41493467, "type": "automation", "created": "2013-08-11T14:41:54.649Z", "last_updated": "1982-12-30T11:25:47.814Z", "createdVersion": "03189833.377560.7789326", "lastUpdatedVersion": "89109356.3352.094407793-7961.906207063.9560104.76819", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": 16629513, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": -36039674.988228306, "sla": 47258862.34970757, "decorators": [ { "type": "encryption", "pointer": "/jXiXJ/OIO,tRcK/cQHiu/~1/SiM,ygQP/~1/~1/nA2xmR.1Gq/~1/~0" }, { "type": "encryption", "pointer": "/~0/~0/DNYciW/kahR,nL6GvU/hpSQ8pFd/TYQnwbJliw/~1/~1/e9AqUG/~1" }, { "type": "encryption", "pointer": "/NedDZEe6tB/~1/~0/~1/Zswvg1R/rr" } ], "status": "canceled", "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 } ], "warnings": [ { "task": "e28f", "name": "myCoolDocumentName", "message": "proident" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "3a1f", "name": "myCoolDocumentName" }, { "task": "3a1f", "name": "myCoolDocumentName", "message": "fugiat eiusmod consequat ipsum elit" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "pariatur esse" } ], "ancestors": [ "cc0c18beee5709e2c79e58b3", "8f53f20c1edd2593527a22b9" ], "validationErrors": [ { "keyword": "ullamco quis aliqua velit", "instancePath": "pariatur ex aliqua fugiat consequat", "schemaPath": "sed velit incididunt in", "message": "dolor" }, { "keyword": "voluptate esse ut amet", "instancePath": "cillum sunt", "schemaPath": "pariatur et dolore", "message": "voluptate in culpa exercitation id" } ], "created_by": null, "last_updated_by": "7d9a8e1a42da9b3eb91b6639", "tasks": { "27": { "actor": "Pronghorn", "groups": [ "3a9bb6a07a4b52a805923bf0", "default", { "_id": "f38db0f564ea53ff483cf34f", "provenance": "sunt Duis dolore ad", "name": "Lorem", "description": "commodo magna minim ad", "memberOf": [ { "groupId": "a62694af71e82acd87e05c42", "aaaManaged": true }, { "groupId": "e7ea987eea3910d36aa9c893", "aaaManaged": false }, { "groupId": "c9e3c90202089a48bbf7a66f", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "veniam deserunt fugiat" }, { "roleId": "ut Duis non do aute" } ], "inactive": false, "_meta": { "created": "1956-09-19T14:42:19.771Z", "updated": "1995-01-24T17:35:44.752Z", "migrationVersion": 32477514 } }, "09e898ff6ec17ad98f2032f4", "47a1c6f4960e2cb08514eac8" ], "iterations": [ "90661eE5-EBA2-7516-120B-4Bece87afeCA" ], "x": -88999392.41901444, "y": 94724880.75444123, "gridCoordinate": { "x": -35745835.21092549, "y": 29499230.47660379 }, "name": "tempor", "location": "Broker", "locationType": null, "app": "ut sed laborum aute sint", "canvasName": "childJob", "displayName": "reprehenderit in enim", "summary": "nisi minim", "description": "Excepteur est in ea deserunt", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~1/~0/BZc3zWUkeB/~0" }, { "type": "encryption", "pointer": "/~1/H+DCBti/~0/Spp6D/cM5/~0/v1hv..U5tRf" }, { "type": "encryption", "pointer": "/vIyA/cS4A/CFF/Q9/~1/~0" }, { "type": "encryption", "pointer": "/skLsgZl/~1/~1/KY8x3" }, { "type": "encryption", "pointer": "/K/~0/~1/UPxk/~0/~1/~1/Uq0S" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "ad labore fugiat", "highlightString": "ea sed minim deserunt reprehenderit" } ], "status": "error", "previous": { "incomplete": [ "workflow_start", "error_handler", "workflow_end", "3a1f" ], "complete": [ "workflow_start", "workflow_end", "3a1f" ], "error": [ "e28f", "error_handler", "workflow_end", "workflow_start" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "error_handler", "type": "standard" }, { "task": "error_handler", "type": "loop" }, { "task": "e28f", "type": "revert" } ], "error": [ { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "standard" } ] }, "serverId": "ullamco", "start_time": "1967-05-16T12:26:35.029Z", "end_time": 22846131.01759319, "finish_state": "failure", "retrySettings": null, "loop": { "atLeastOneComplete": true, "finishedCount": 44996864.224246055, "outgoing": [ "amet Duis deserunt consectetur et" ] }, "childJobs": [ { "_id": "labore pariatur", "name": "eu in ex", "iteration": 21575106.39143406 }, { "_id": "id occaecat anim sint", "name": "ut cupidatat", "iteration": -62087326.936467946 }, { "_id": "in", "name": "sunt et", "iteration": -38281156.553146504 }, { "_id": "quis culpa", "name": "dolor", "iteration": 76302275.9517586 }, { "_id": "ipsum esse Lorem quis laborum", "name": "est", "iteration": 13761965.24982962 } ] }, "workflow_start": { "x": 63098965.23446873, "y": 53337073.863684386, "gridCoordinate": { "x": 83921846.77994165, "y": 42916419.39159128 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -39259088.772302955, "finish_state": "error", "user": { "_id": "2671ddb1fde1d5511ec9ae60", "provenance": "ut sed qui velit", "username": "velit tempor ut in occaecat", "firstname": "do id fugiat irure in", "memberOf": [ { "groupId": "25d04ad723e28d67544a128c", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sed ut cupidatat irure incididunt" }, { "roleId": "eu veniam minim" } ], "inactive": true, "lastLogin": "1995-05-22T17:01:38.615Z", "_meta": { "created": "1977-06-08T16:54:44.668Z", "updated": "1984-06-30T05:08:05.162Z", "migrationVersion": -31612193 }, "email": "ex velit Excepteur incididunt dolor" } }, "groups": [ "default" ], "iterations": [ "6c21e7b0-1BAf-383e-6502-B941d8fe8E88", "7CA3DCF2-2e94-0bAc-16FC-40D9f0D0CFA1" ] }, "workflow_end": { "x": -52608057.49413833, "y": -62867942.056534745, "gridCoordinate": { "x": 14658253.26160264, "y": -17174553.84305899 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "3a1f", "workflow_start", "error_handler" ], "complete": [ "workflow_start", "3a1f" ], "error": [ "3a1f" ] }, "metrics": { "end_time": 42868358.15296742, "run_time": 16127323.964240864 }, "groups": [ "default" ], "iterations": [] }, "error_handler": { "x": -70017391.93393326, "y": -92450142.51866062, "gridCoordinate": { "x": -88757885.30985482, "y": -21113307.623159066 }, "name": "childJob", "location": "Application", "locationType": null, "app": "dolor", "canvasName": "dolor occaecat culpa reprehenderit", "displayName": "et consectetur irure adipisicing", "summary": "non nostrud ad irure et", "description": "velit non nulla nostrud", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/FnFb/~1/Spji81K-/~0/~1/TT/Dq/w7bg/~1/HKoyPEOn6M/~0" }, { "type": "encryption", "pointer": "/~1/~1/E/M/~1/~1" }, { "type": "encryption", "pointer": "/~1/~1/~1/~1" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "fugiat aliqua amet Duis", "highlightString": "dolore enim labore dolore adipisicing" }, { "key": "ut id nostrud et eiusmod", "highlightString": "in" }, { "key": "nulla ut sit", "highlightString": "sit consequat do aliqua" }, { "key": "anim reprehenderit", "highlightString": "dolor" }, { "key": "est eiusmod dolor", "highlightString": "eiusmod nulla magna" } ], "status": "complete", "previous": { "incomplete": [ "e28f", "workflow_end" ], "complete": [ "workflow_start", "workflow_end", "3a1f", "workflow_start" ], "error": [ "3a1f", "3a1f", "workflow_start", "workflow_end", "error_handler" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "3a1f", "type": "revert" }, { "task": "error_handler", "type": "loop" }, { "task": "error_handler", "type": "loop" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_end", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "standard" } ], "error": [ { "task": "e28f", "type": "loop" } ] }, "serverId": "pariatur ex proident reprehenderit", "start_time": "1995-11-15T20:46:59.444Z", "end_time": -3003957.8137850016, "finish_state": "success", "retrySettings": null, "type": "operation", "actor": "Pronghorn", "groups": [ "default", { "_id": "f2a9b5a3c6dfaafed13a2d35", "provenance": "laborum nisi", "name": "laborum consequat irure", "description": "fugiat", "memberOf": [ { "groupId": "88bac41e19fc8bd0e77c5dc1", "aaaManaged": true }, { "groupId": "8c802573d59543a47d579e2d", "aaaManaged": false }, { "groupId": "6e66c3cbf5336cf18402e1ea", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "aliquip" }, { "roleId": "nisi dolor Lorem sint pariatur" }, { "roleId": "fugiat ipsum Ut qui" }, { "roleId": "elit" } ], "inactive": true, "_meta": { "created": "1972-06-03T15:38:25.5Z", "updated": "1970-01-20T13:36:19.862Z", "migrationVersion": 27549520 } }, "61adbb073b71aab8dc22198a", "f57aa0a2fdcbdc4dd9bb142a", "default" ], "iterations": [ "01ff948C-2F5a-19f2-b2Ad-076A5cbdf89b" ] } }, "parent": { "task": "Lorem adipisicing laboris mollit", "iteration": 57726906.71932393, "element": -98540591.54676497 }, "errorHandler": null, "groups": [ "94bc7060c31dc2e2296e9973", "default", "default" ], "watchers": [ "92905c6f2cc4c1ec6d4f8549", { "_id": "12a6955c08cd287e36bef927", "provenance": "Excepteur cillum mollit dolor", "username": "aute ut ad", "firstname": "fugiat ex Excepteur", "memberOf": [ { "groupId": "b75abb2820feaa6a368d0806", "aaaManaged": false }, { "groupId": "5c7aed7ef76b1bfb23f6ab6e", "aaaManaged": false }, { "groupId": "ad5f424a3eb6e59fd5dc761f", "aaaManaged": false }, { "groupId": "375e2a8810a1ed4403a0235f", "aaaManaged": true }, { "groupId": "3711fc5d802afae15759e056", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "Duis Ut" }, { "roleId": "adipisicing tempor elit" }, { "roleId": "ex amet eu" } ], "inactive": false, "lastLogin": "2013-01-23T18:58:10.863Z", "_meta": { "created": "2017-03-01T16:30:41.188Z", "updated": "2008-01-25T06:05:09.055Z", "migrationVersion": -58476118 }, "email": "amet in nulla officia" }, { "_id": "5a64a8e93124d55547eaf047", "provenance": "labore pariatur id", "username": "proident", "firstname": "enim reprehenderit", "memberOf": [ { "groupId": "822505f857a12ca829fa975d", "aaaManaged": false }, { "groupId": "1251834481a1c71cb9c2fe0d", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ut officia Excepteur" }, { "roleId": "aliquip id dolor minim" }, { "roleId": "qui dolore mollit ex" }, { "roleId": "exercitation do dolore deserunt aute" } ], "inactive": false, "lastLogin": "1946-07-24T18:19:53.922Z", "_meta": { "created": "1999-04-16T04:04:16.538Z", "updated": "1960-08-08T02:38:30.214Z", "migrationVersion": 36438178 }, "email": "Ut esse" }, "Pronghorn" ], "metrics": { "start_time": -27247246.184415057, "progress": 0.35958257345267297, "end_time": -52876978.99080253, "user": { "_id": "0992804912f2d4acbadaec16", "provenance": "aliqua in Duis proident", "username": "do tempor aute", "firstname": "nisi", "memberOf": [ { "groupId": "84236814de495e8a92939474", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "eiusmod non laborum velit Excepteur" }, { "roleId": "in laborum consectetur" }, { "roleId": "Duis id enim commodo" } ], "inactive": false, "lastLogin": "1945-07-14T18:40:32.025Z", "_meta": { "created": "1951-07-21T23:41:18.755Z", "updated": "1987-11-07T13:27:51.509Z", "migrationVersion": -16194126 }, "email": "voluptate adipisicing aliquip" }, "owner": "3b992bf5faa40d9fb635302f" } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }