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": "in et" } }
{ "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 retrieved search results", "data": { "_id": "e775cd06ae9dbde224cc72ae", "font_size": 82775275, "type": "resource:action", "created": "1997-08-29T20:00:26.712Z", "last_updated": "1947-06-22T08:14:11.836Z", "createdVersion": "094.5.7713-0347.5390033453.84613.63046", "lastUpdatedVersion": "54.3150.99737356817-8892.0662308.46951410", "canvasVersion": 1.5, "encodingVersion": 1, "migrationVersion": -79985483, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": -11301039.916543856, "sla": 20464518.402765557, "decorators": [ { "type": "encryption", "pointer": "/VOFA2Jkq4/ouGb/k+/~0/I.N/B/~0" }, { "type": "encryption", "pointer": "/B" }, { "type": "encryption", "pointer": "/q9z9j/ka/u1svHR7AYU/~1/~1/We7yzy5/IOn/~0" }, { "type": "encryption", "pointer": "/~0/~0/W0/~1/~1/~1/t0SUTw" } ], "status": "canceled", "tags": [], "error": [ { "task": "f9a9", "message": { "code": 500, "message": { "apiVersion": "1", "method": "transformations.run", "error": { "code": 500, "message": "Missing one of the following required instances: arg2, arg1", "errors": [] } } }, "timestamp": 1627323002561 }, { "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": "f9a9", "message": { "code": 500, "message": { "apiVersion": "1", "method": "transformations.run", "error": { "code": 500, "message": "Missing one of the following required instances: arg2, arg1", "errors": [] } } }, "timestamp": 1627323002561 } ], "warnings": [ { "task": "3a1f", "name": "myCoolDocumentName" } ], "ancestors": [ "0738d3e188f8023cc48c2ea5", "7ab80c9a54d8b063f99a5346", "948ea64347c69bba55315669" ], "validationErrors": [ { "keyword": "do ex", "instancePath": "esse eiusmod mollit cupidatat occaecat", "schemaPath": "dolore in nulla aliquip aute", "message": "exercitation deserunt consectetur" }, { "keyword": "sint", "instancePath": "culpa magna deserunt sint", "schemaPath": "velit proident", "message": "laborum aliqua veniam" }, { "keyword": "tempor Excepteur in laborum", "instancePath": "dolore in non tempor in", "schemaPath": "nisi", "message": "sint adipisicing Ut enim eiusmod" }, { "keyword": "consectetur Duis", "instancePath": "nisi laborum veniam tempor ut", "schemaPath": "anim Ut fugiat nulla et", "message": "et" }, { "keyword": "sed occaecat laborum laboris", "instancePath": "non Ut ad", "schemaPath": "eu laboris sunt", "message": "ullamco adipisicing incididunt minim" } ], "created_by": "Pronghorn", "last_updated_by": "Pronghorn", "tasks": { "workflow_start": { "x": -21462837.30230181, "y": 57672592.17335692, "gridCoordinate": { "x": 51169765.95866367, "y": 29360771.781120002 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -63120559.75404052, "finish_state": "failure", "user": "a18964a4bb125200159ff33b" }, "groups": [ "default", { "_id": "4939933841573a07d929acf7", "provenance": "dolor laboris ad", "name": "dolore culpa cillum labore", "description": "non pariatur proident", "memberOf": [ { "groupId": "1fecfea7fad9097269753105", "aaaManaged": true }, { "groupId": "d9c4f14c6fcb8781bbf4d375", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "elit ipsum labore et" }, { "roleId": "in consequat in" }, { "roleId": "laborum labore pariatur Duis voluptate" } ], "inactive": false, "_meta": { "created": "1986-11-25T04:43:05.448Z", "updated": "2002-01-14T16:25:41.286Z", "migrationVersion": -21537304 } }, { "_id": "ddb2e890ba896e479582957d", "provenance": "sed", "name": "dolore dolor Excepteur", "description": "est amet", "memberOf": [ { "groupId": "3541fd57b22f6ee3c5c97a81", "aaaManaged": true }, { "groupId": "e9bd17dc22e36b5851e1ce1e", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "amet in sit" }, { "roleId": "dolore in" }, { "roleId": "laboris pariatur" } ], "inactive": true, "_meta": { "created": "1956-04-26T10:09:31.541Z", "updated": "1994-10-11T03:30:05.649Z", "migrationVersion": -23166493 } }, "4b375576e9e06aa0a8c126cf", "b92982ec7bf9444d04d3ffab" ], "iterations": [ "a08DaD6d-d32e-C5fB-46fD-5f7B6C1F4012", "c1Dc939A-a7E0-5cbF-f29E-1748fD3BAdf3", "03750EaC-12a1-5bAB-18Ff-C799DD94B205", "eEFeda71-4E6e-5Cf9-8A3b-e17B152e0AD7" ] }, "workflow_end": { "x": -93801941.65401594, "y": 80592357.21166402, "gridCoordinate": { "x": -72285198.26767203, "y": -85922787.81825247 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "error_handler", "workflow_end", "workflow_start", "error_handler", "error_handler" ], "complete": [ "workflow_start", "e28f", "e28f", "workflow_start" ], "error": [ "3a1f" ] }, "metrics": { "end_time": -40339414.84156825, "run_time": 33761794.270386726 }, "groups": [ "544eec0b86032da3dc26b125", "e2a3ae15c5aaee24955f3a86", "default", "317502830a61b797db262dcb" ], "iterations": [ "96C1CAc5-d8ed-dD5e-dF0b-Bbda2AcEafdf" ] }, "error_handler": { "x": -48366368.03159271, "y": -4753300.128918618, "gridCoordinate": { "x": 1940551.479271233, "y": 35044107.410280734 }, "name": "childJob", "location": "Adapter", "locationType": "aliquip labore", "app": "in reprehenderit mollit eu", "canvasName": "quis exercitation deserunt nostrud", "displayName": "culpa ad", "summary": "ut in nulla magna dolore", "description": "quis tempor", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/b/~1/LFl" }, { "type": "encryption", "pointer": "/~0" }, { "type": "encryption", "pointer": "/o.8hAU0IHsl/~0/~0/~0/pcN2Q2+0D" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "ea laborum tempor", "highlightString": "adipisicing Ut commodo fugiat ipsum" }, { "key": "magna ullamco Duis", "highlightString": "Duis ut ipsum dolore" } ], "status": "error", "previous": { "incomplete": [ "workflow_start", "workflow_end" ], "complete": [ "3a1f", "3a1f", "workflow_start", "workflow_end" ], "error": [ "workflow_start", "e28f", "workflow_start" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_start", "type": "loop" }, { "task": "3a1f", "type": "revert" }, { "task": "e28f", "type": "standard" }, { "task": "e28f", "type": "standard" } ], "failure": [ { "task": "e28f", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "revert" } ] }, "serverId": "ut dolore", "start_time": "2011-08-15T20:02:12.624Z", "end_time": -60771022.76484543, "finish_state": "failure", "retrySettings": { "state": [ "failure", "error", "failure", "error", "success" ], "autoRetry": true, "limit": 84284555, "delay": 31968446, "count": 80297167, "finishedRetrying": true }, "type": "operation", "actor": null, "groups": [ "6850b962fb631c5943ca67f7", { "_id": "487adda8e2d933811824b55a", "provenance": "veniam labore", "name": "velit elit magna sit amet", "description": "veniam fugiat consectetur", "memberOf": [ { "groupId": "f1bedd07b8e06c1f53197323", "aaaManaged": true }, { "groupId": "3c3587353902a87ccab4e279", "aaaManaged": true }, { "groupId": "1360a7967575d92fce29379b", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ipsum" }, { "roleId": "ad ex sunt ullamco ut" } ], "inactive": false, "_meta": { "created": "1960-02-03T02:54:50.333Z", "updated": "1979-06-09T00:03:02.061Z", "migrationVersion": 44885496 } }, "789e01dd6f1d7158f5cef33e", { "_id": "6fb784316453be7d18e41045", "provenance": "non deserunt est qui", "name": "in quis", "description": "cillum ullamco Excepteur proident Duis", "memberOf": [ { "groupId": "c7b11bd19dc654360d9e6279", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "incididunt consequat ullamco" }, { "roleId": "anim" }, { "roleId": "nostrud irure" } ], "inactive": false, "_meta": { "created": "1949-02-12T09:38:30.465Z", "updated": "1962-12-08T19:42:20.2Z", "migrationVersion": 68857884 } } ], "iterations": [ "EBEfa8f5-6E13-D2BA-4E6f-9Bd4dABcfD51" ] }, "5a": { "x": -25046.768422231078, "y": -25019054.06203781, "gridCoordinate": { "x": 29309010.04888527, "y": -48360990.90418977 }, "name": "reprehenderit qui deserunt", "location": "Broker", "locationType": null, "app": "incididunt sit fugiat", "canvasName": "labore nostrud minim", "displayName": "nisi in velit aliqua culpa", "summary": "labore", "description": "magna mollit", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/yDvr57UYlY/anHCKw/EZ/~0/RkIU.i/q/DM/U+fFC8.UB/By/~0" }, { "type": "encryption", "pointer": "/YFAiN/UFn/~1" }, { "type": "encryption", "pointer": "/t+QH/~1/~0" }, { "type": "encryption", "pointer": "/JeY/LaZ0eA/KaH/lnZLHqkDQDJ/~1/~0/~0" }, { "type": "encryption", "pointer": "/~0/pxQidWF6/U2PeO8ydYR/Bn2B5O/lKsmFFuhu/~0/TYIVF/W5it4xFSH/~0/EI+BgH" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "irure non sunt aliquip", "highlightString": "eiusmod magna sed non" }, { "key": "consectetur tempor ea eu incididunt", "highlightString": "ea" } ], "status": "failure", "previous": { "incomplete": [ "error_handler", "e28f", "workflow_start", "workflow_start", "workflow_start" ], "complete": [ "3a1f", "workflow_start" ], "error": [ "workflow_start" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "3a1f", "type": "revert" }, { "task": "workflow_end", "type": "loop" }, { "task": "error_handler", "type": "loop" } ], "error": [ { "task": "e28f", "type": "revert" }, { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "revert" } ] }, "serverId": "cillum non veniam proident ipsum", "start_time": "2017-09-12T12:36:23.131Z", "end_time": 97989071.83708721, "finish_state": "error", "retrySettings": { "state": [ "success", "error", "success", "failure", "success" ], "autoRetry": true, "limit": 18438249, "delay": 7903977, "count": 28368882, "finishedRetrying": true }, "type": "operation", "actor": "job", "groups": [ { "_id": "90f8257226cb669056a6a7e1", "provenance": "nulla sed nostrud sit", "name": "laboris tempor", "description": "minim", "memberOf": [ { "groupId": "59aac02052e3cb577c6fb9ba", "aaaManaged": false }, { "groupId": "e52d569f0f3d7ee4a7ff449b", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "pariatur aliquip cupidatat dolor magna" }, { "roleId": "occaecat eu Excepteur ipsum et" }, { "roleId": "magna do commodo nostrud" }, { "roleId": "qui elit" }, { "roleId": "tempor eu" } ], "inactive": true, "_meta": { "created": "1981-11-29T13:18:59.262Z", "updated": "1975-11-04T12:34:24.263Z", "migrationVersion": -69872769 } }, { "_id": "020b1c4743c61964222287b4", "provenance": "ut", "name": "ex in consectetur quis nulla", "description": "esse adipisicing", "memberOf": [ { "groupId": "7efb94b78a8dd09e7511faef", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "dolore Duis cillum incididunt amet" }, { "roleId": "consequat commodo" }, { "roleId": "quis deserunt officia Lorem eu" } ], "inactive": false, "_meta": { "created": "2003-12-13T06:42:00.196Z", "updated": "2015-04-02T08:03:26.148Z", "migrationVersion": 30766796 } }, "default", { "_id": "26bf3ad1f748ba6e3b1f1046", "provenance": "proident amet fugiat consectetur", "name": "labore", "description": "pariatur mollit laborum", "memberOf": [ { "groupId": "19a0580a8ca67ab951a7c4a9", "aaaManaged": false }, { "groupId": "d4fffb217ff066959729d61a", "aaaManaged": true }, { "groupId": "93639e14121158912ab6d699", "aaaManaged": false }, { "groupId": "384822954bae1cadf83a2b45", "aaaManaged": false }, { "groupId": "b8ed478d7344d39ffd40fd06", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "commodo proident ea" }, { "roleId": "et ipsum sed cupidatat" }, { "roleId": "laborum ut tempor" }, { "roleId": "nulla laborum adipisicing elit id" } ], "inactive": false, "_meta": { "created": "1997-05-09T07:00:27.308Z", "updated": "1950-07-14T06:48:42.635Z", "migrationVersion": 80356751 } } ], "iterations": [ "016716Db-A8c8-Fd51-Cc3D-ee9Ebeff4C44", "0d4Dcaf8-1305-b4AA-5c0d-a98Ecabe23de" ] } }, "parent": { "job": "ut eiusmod aliqua dolor", "task": "adipisicing commodo", "iteration": -90070490.48096003, "element": -19704012.42569299 }, "errorHandler": null, "groups": [ "default", { "_id": "2304c202abd3362863e7e10a", "provenance": "eiusmod reprehenderit Lorem occaecat", "name": "nulla sed ut", "description": "consequat laborum dolore", "memberOf": [ { "groupId": "a11aa47e1d2f287adc7aaafa", "aaaManaged": false }, { "groupId": "5d86ffa41c55ddf6430214c2", "aaaManaged": false }, { "groupId": "17ec4300f960f30e1f37d63c", "aaaManaged": false }, { "groupId": "c46323ac98c06b6525d915c0", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "Lorem laboris" }, { "roleId": "consequat eu sed Ut" }, { "roleId": "Lorem culpa voluptate eiusmod" }, { "roleId": "pariatur consequat" }, { "roleId": "dolore deserunt" } ], "inactive": false, "_meta": { "created": "1995-04-17T01:08:27.091Z", "updated": "2011-06-24T00:31:22.922Z", "migrationVersion": 35987568 } }, "default" ], "watchers": [ "26236a68ac1318e8892013fc", "Pronghorn" ], "metrics": { "start_time": 80297882.9980126, "progress": 0.685880539200199, "end_time": -65303775.62459821, "user": "Pronghorn", "owner": "b478a7536344c20958ab9b62" } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }