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": "dolor anim Duis" } }
{ "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": "b3d68cc53b77d37119cf3c80", "font_size": 31402234, "type": "resource:action", "created": "2001-12-14T07:56:40.637Z", "last_updated": "2009-02-22T22:07:12.326Z", "createdVersion": "0582862407.6672.3676", "lastUpdatedVersion": "539.6348.43787-7076.4.80761.24983561768", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": -12628956, "name": "myCoolDocumentName", "description": null, "preAutomationTime": -43207747.207093835, "sla": 33968573.777361095, "decorators": [ { "type": "encryption", "pointer": "/b5zv6/Mhq/ihq3aAKdI/~0" }, { "type": "encryption", "pointer": "/nUVa9iH/~1/~1/~1" }, { "type": "encryption", "pointer": "/h7Soq74Z/~0/kHg-jq/~0" } ], "status": "incomplete", "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 }, { "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": "workflow_start", "name": "myCoolDocumentName" }, { "task": "workflow_end", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "irure pariatur qui enim id" }, { "task": "error_handler", "name": "myCoolDocumentName" } ], "ancestors": [ "99251a40c8f3547b8412f0a5" ], "validationErrors": [ { "keyword": "consectetur nisi fugiat", "dataPath": "cillum", "schemaPath": "quis cillum officia proident veniam", "message": "ea laborum in" }, { "keyword": "laboris", "dataPath": "quis dolore", "schemaPath": "sed fugiat ex", "message": "voluptate" }, { "keyword": "ex", "dataPath": "cillum officia culpa voluptate laboris", "schemaPath": "fugiat laboris magna in", "message": "Lorem laboris est deserunt" }, { "keyword": "amet labore Ut consectetur dolore", "dataPath": "minim do cillum culpa", "schemaPath": "ut minim", "message": "dolore in" }, { "keyword": "ut reprehenderit", "dataPath": "ut laborum esse do", "schemaPath": "occaecat tempor deserunt sit et", "message": "ea laboris id nostrud non" } ], "created_by": "Pronghorn", "last_updated_by": { "_id": "c50cb66512b15101595dd210", "provenance": "qui", "username": "Excepteur mollit", "firstname": "aliquip", "memberOf": [ { "groupId": "798941cc04a31be4c13e27a8", "aaaManaged": false }, { "groupId": "7a00715100964c2150a21685", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "in exercitation" }, { "roleId": "in" }, { "roleId": "officia" }, { "roleId": "veniam" }, { "roleId": "reprehenderit laboris officia ad commodo" } ], "inactive": true, "lastLogin": "1983-10-01T01:34:16.538Z", "_meta": { "created": "1982-01-10T02:17:47.665Z", "updated": "2019-01-27T07:58:08.92Z", "migrationVersion": 6970717 }, "email": "cupidatat" }, "tasks": { "workflow_start": { "x": 24884434.923150286, "y": 28158202.489517465, "gridCoordinate": { "x": 34839363.95408064, "y": 24982744.084261194 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 870490.5963915288, "finish_state": "success", "user": { "_id": "84329e78686a9457b2475a6b", "provenance": "exercitation", "username": "dolor elit", "firstname": "voluptate ad", "memberOf": [ { "groupId": "f26ff5b4aace56cec3987e1a", "aaaManaged": true }, { "groupId": "38832d0e71f87d4b17ad19db", "aaaManaged": false }, { "groupId": "3c6aeac06f001c42c471f140", "aaaManaged": true }, { "groupId": "f799d45be8091c67c76f000f", "aaaManaged": false }, { "groupId": "649217a775c5373eb34273a3", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "anim aliqua" }, { "roleId": "ex aliquip" }, { "roleId": "tempor aliquip est proident eiusmod" }, { "roleId": "qui proident cupidatat anim" }, { "roleId": "nostrud" } ], "inactive": true, "lastLogin": "1961-09-10T15:35:57.741Z", "_meta": { "created": "1994-06-06T06:12:49.708Z", "updated": "1972-06-21T10:40:23.371Z", "migrationVersion": 4361994 }, "email": "eiusmod consectetur irure dolore voluptate" } }, "groups": [ { "_id": "b8de4a39948cd2650b98d637", "provenance": "irure ea", "name": "sunt officia", "description": "anim Duis ea", "memberOf": [ { "groupId": "b93a1ae7187b794790e48016", "aaaManaged": false }, { "groupId": "03dfc70ecc9f2614b5bc5d75", "aaaManaged": true }, { "groupId": "addf151732d671fda2809e8a", "aaaManaged": false }, { "groupId": "9126baca5cbfe7c91bda0392", "aaaManaged": false }, { "groupId": "ef43b5710e5fd47fd6ac6662", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "exercitation occaecat elit non commodo" }, { "roleId": "officia" }, { "roleId": "deserunt dolor Duis" }, { "roleId": "exercitation minim in ut" } ], "inactive": false, "_meta": { "created": "1988-01-05T05:30:15.441Z", "updated": "1954-04-20T23:48:43.665Z", "migrationVersion": 23043657 } }, "default", { "_id": "1f64df28bfa24fcace13570b", "provenance": "qui dolore", "name": "non cillum ea", "description": "commodo pariatur irure", "memberOf": [ { "groupId": "e95b435d5363adeb1f0e1ae4", "aaaManaged": false }, { "groupId": "ef31de369bc3fb81005ea4a4", "aaaManaged": false }, { "groupId": "9ee1d59f434c8450e3b65611", "aaaManaged": false }, { "groupId": "33bfd86bef940c11ca0cb335", "aaaManaged": true }, { "groupId": "5775093bd3598be432054ac4", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "dolore anim" }, { "roleId": "cupidatat" }, { "roleId": "Lorem eu amet" }, { "roleId": "consectetur irure mollit" } ], "inactive": true, "_meta": { "created": "1949-01-15T12:25:51.292Z", "updated": "1959-06-11T07:28:10.808Z", "migrationVersion": -38793983 } } ], "iterations": [] }, "workflow_end": { "x": -59411288.68823333, "y": 23581600.084944606, "gridCoordinate": { "x": -20837116.17479822, "y": -97611256.48973876 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_end", "3a1f" ], "complete": [ "workflow_end", "error_handler", "workflow_end", "error_handler" ], "error": [ "workflow_start", "workflow_start", "e28f" ] }, "metrics": { "end_time": -87577712.31104364, "run_time": 77457189.15311217 }, "groups": [ { "_id": "5ded3117409f8954807fb26d", "provenance": "culpa est", "name": "laboris amet eu est", "description": "ea magna", "memberOf": [ { "groupId": "0b840938f89ca16974c4c860", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "aliqua sed laborum nulla" }, { "roleId": "Ut ut dolore" }, { "roleId": "reprehenderit" }, { "roleId": "non dolore dolor" }, { "roleId": "mollit minim nulla" } ], "inactive": true, "_meta": { "created": "2012-03-21T13:47:49.853Z", "updated": "1978-10-14T06:16:15.789Z", "migrationVersion": 89720996 } }, "c8dc242c3efbbf378bd95b1b", "e6b303efc2015d4c4029f91d", "cbdde6304c650e65e57f60ba" ], "iterations": [ "A8A5e5E3-b96b-2771-D6bA-1Caf2Fc1c792", "B7482A3E-fFE9-3FA9-ddb0-acdBE394CD66", "D62aDB0a-BCCA-1f59-465e-9F4C42E23ebB", "4A71e41F-760C-6E3b-F0bf-E4DA2A4D5D44" ] }, "error_handler": { "x": -78940706.97306553, "y": -75542658.28052568, "gridCoordinate": { "x": -94492711.56302093, "y": 89016639.138226 }, "name": "childJob", "location": "Broker", "locationType": "voluptate", "app": "ut minim sunt", "canvasName": "nulla in Duis", "displayName": "Excepteur irure", "summary": "ut proident dolor nulla amet", "description": "eu sunt minim", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~1/~0/XdLE/~0/ZBdFZ9pIwjG/~1/ibogJH" }, { "type": "encryption", "pointer": "/~0/wZKL/M5pT8Jn/YswO0/~0" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "fugiat laboris in consectetur", "highlightString": "est sunt eiusmod culpa sint" } ], "status": "running", "previous": { "incomplete": [ "workflow_start", "e28f", "workflow_start" ], "complete": [ "workflow_start", "workflow_start", "e28f" ], "error": [ "workflow_start", "workflow_start", "e28f", "error_handler", "e28f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "error_handler", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_end", "type": "revert" } ], "failure": [ { "task": "workflow_end", "type": "standard" }, { "task": "error_handler", "type": "revert" }, { "task": "error_handler", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "standard" } ] }, "serverId": "ut Ut", "start_time": "1979-05-18T10:01:37.414Z", "end_time": 68332859.64241576, "finish_state": "success", "retrySettings": { "state": [ "error", "error", "error", "error" ], "autoRetry": false, "limit": 18766720, "delay": 58896643, "count": 22979755, "finishedRetrying": false }, "type": "operation", "actor": { "_id": "3355fdcd8987216fde087175", "provenance": "nisi", "username": "aliquip labore ut qui esse", "firstname": "dolor Duis aliqua", "memberOf": [ { "groupId": "f46e3194a5d93c94db97755a", "aaaManaged": false }, { "groupId": "fa62ba02f26db7542f000b55", "aaaManaged": false }, { "groupId": "aca3e6be19b5b2d7d5501efd", "aaaManaged": false }, { "groupId": "d72e50643a65c010c2e6b51e", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "nisi ut enim" }, { "roleId": "tempor dolore" }, { "roleId": "non et" }, { "roleId": "sed sint ex fugiat Lorem" } ], "inactive": false, "lastLogin": "2007-05-30T05:24:18.323Z", "_meta": { "created": "1947-08-07T12:54:26.446Z", "updated": "2015-01-26T02:54:16.081Z", "migrationVersion": -52368739 }, "email": "ut ea" }, "groups": [ "044b3ca6f046ae8cadfae884", { "_id": "6ce6a0bdf3e44d0d8510c082", "provenance": "ut anim", "name": "pariatur voluptate ex quis proident", "description": "voluptate nisi irure ut", "memberOf": [ { "groupId": "b7b8cb772167d53385493932", "aaaManaged": false }, { "groupId": "ad3906250499b5e79bdf4a25", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "in laboris laborum" }, { "roleId": "aute dolor" }, { "roleId": "occaecat" }, { "roleId": "do Lorem dolore" }, { "roleId": "nostrud" } ], "inactive": false, "_meta": { "created": "1970-11-13T23:57:55.578Z", "updated": "1947-10-23T04:41:39.63Z", "migrationVersion": -21460744 } } ], "iterations": [] }, "d89": { "actor": "Pronghorn", "groups": [ "98cb598adf0cbc63baba6233", "default" ], "iterations": [], "x": -64893306.71848776, "y": -62283829.541460365, "gridCoordinate": { "x": -51721586.80885954, "y": 81285547.97154847 }, "name": "sint elit ut incididunt esse", "location": "Adapter", "locationType": null, "app": "amet aliqua", "canvasName": "consectetur pariatur", "displayName": "consequat", "summary": "ullamco nostrud mollit nisi", "description": "ea aliquip nulla dolore", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/p5hXqu/k/~0/cxj/~1/V3+s" }, { "type": "encryption", "pointer": "/~0/~1/~1/YLKVD/~1/mY/Pr-fqS/cV" }, { "type": "encryption", "pointer": "/uvPt/~1/VJlQd3" }, { "type": "encryption", "pointer": "/b3sOM4W/j.Bq4/Kj4JOT/KQ" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "culpa", "highlightString": "minim in" }, { "key": "Lorem fugiat nisi sit esse", "highlightString": "minim tempor id" }, { "key": "nostrud aliquip in", "highlightString": "in quis in" }, { "key": "exercitation nisi magna", "highlightString": "et culpa exercitation" }, { "key": "adipisicing", "highlightString": "incididunt ut sed Lorem" } ], "status": "incomplete", "previous": { "incomplete": [ "e28f", "workflow_end", "workflow_end", "error_handler" ], "complete": [ "error_handler", "3a1f", "e28f", "workflow_start" ], "error": [ "3a1f", "3a1f", "e28f" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "error_handler", "type": "standard" }, { "task": "e28f", "type": "revert" } ], "failure": [ { "task": "3a1f", "type": "standard" }, { "task": "error_handler", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ], "error": [ { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "revert" } ] }, "serverId": "Excepteur consequat dolor esse nostrud", "start_time": "1985-01-23T21:57:48.805Z", "end_time": 9849132.774609834, "finish_state": "success", "retrySettings": { "state": [ "success", "success" ], "autoRetry": false, "limit": 71009851, "delay": 26861902, "count": 81790437, "finishedRetrying": false }, "type": "manual", "view": "in in" } }, "parent": { "job": "fugiat", "task": "sint", "iteration": 77890975.91177309, "element": 18085505.99345447 }, "errorHandler": null, "groups": [ { "_id": "0ebbfc249044d407b35b3780", "provenance": "Excepteur non", "name": "ut in dolore", "description": "commodo irure", "memberOf": [ { "groupId": "4220f86bbd170043d9584940", "aaaManaged": true }, { "groupId": "d0726f716acc2cd17e9cc9af", "aaaManaged": true }, { "groupId": "1e391905a6ee86c695f5c42e", "aaaManaged": false }, { "groupId": "bfbb5c30f1753fe550f6a4b3", "aaaManaged": true }, { "groupId": "2d1edbc58b7af09e1855a303", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "Ut nulla ut esse aute" }, { "roleId": "consectetur Excepteur dolor nisi" } ], "inactive": false, "_meta": { "created": "1946-04-24T13:15:07.339Z", "updated": "1988-07-17T18:16:35.444Z", "migrationVersion": 55293952 } }, "e7b4dd83d9f84b2507d669c3", "default", "default", "de94609faf673918960f2870" ], "watchers": [ "7369cb5852ca26abd4fa49ec", null, "6b242169c05ccc8a750b2dbf", "Pronghorn", { "_id": "98d82c8440bb1e83019913a1", "provenance": "ut labore", "username": "eiusmod consequat", "firstname": "sed eu commodo dolor culpa", "memberOf": [ { "groupId": "c98fda15b9f24a842cc3b9c9", "aaaManaged": true }, { "groupId": "8ace0c00b598698ddefdbbc6", "aaaManaged": false }, { "groupId": "9ab893299f0169ccc465d203", "aaaManaged": true }, { "groupId": "0254f4475ff5a475e86f4d48", "aaaManaged": false }, { "groupId": "ebf3b78a00063bd1de56243e", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "qui dolor reprehenderit enim" } ], "inactive": true, "lastLogin": "1965-04-06T14:06:43.457Z", "_meta": { "created": "1979-01-16T10:29:34.567Z", "updated": "2016-09-23T01:49:53.708Z", "migrationVersion": -21597983 }, "email": "fugiat commodo" } ], "metrics": { "start_time": -80037719.24430136, "progress": 0.9224465007694318, "end_time": 66916969.42413312, "user": null, "owner": null } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }