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": "laboris sint in aliquip" } }
{ "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": "550403ab2237e33474b62f37", "font_size": -36159898, "type": "automation", "created": "1963-10-02T11:10:01.335Z", "last_updated": "1967-12-26T07:15:06.867Z", "createdVersion": "1539.856414.8", "lastUpdatedVersion": "5724484.106198.7823372076", "canvasVersion": 1.5, "encodingVersion": 1, "migrationVersion": -14972512, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 89929155.16084671, "sla": -96681444.76199818, "decorators": [ { "type": "encryption", "pointer": "/RSPu./hkyUHi/c/DYQX6.DunZ" }, { "type": "encryption", "pointer": "/oDeN/RmGVL/KqCYL/~0" }, { "type": "encryption", "pointer": "/~0/~1/UhdrNyL/~0/~0/GZDSn/~1/~1/Hld-9Cz" }, { "type": "encryption", "pointer": "/DF-c8j5,/gGdLL7T/iI/+xi3T4/s" }, { "type": "encryption", "pointer": "/~1/QC+o1b4/~0/~1/~1/~1/GtBJi/aQw" } ], "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 } ], "warnings": [ { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "eu irure proident tempor" }, { "task": "workflow_end", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "id adipisicing veniam" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "laboris voluptate fugiat dolor velit" } ], "ancestors": null, "validationErrors": [ { "keyword": "sint laborum incididunt est", "dataPath": "labore reprehenderit", "schemaPath": "ullamco reprehenderit", "message": "sit consectetur" }, { "keyword": "consequat eu ex ullamco nisi", "dataPath": "tempor commodo", "schemaPath": "ut", "message": "elit dolore reprehenderit ex" } ], "created_by": "ddcfd21edc6dc7bdd52561dc", "last_updated_by": { "_id": "cbec7f8eb7fd62df3534f0fd", "provenance": "ea Ut voluptate", "username": "id fugiat ea proident", "firstname": "ullamco magna id", "memberOf": [ { "groupId": "5af4b157c2d33774a6a8c1d6", "aaaManaged": false }, { "groupId": "d9ddfcb3117f9ef3af13c882", "aaaManaged": true }, { "groupId": "30a50bf884e41cff7e0847db", "aaaManaged": false }, { "groupId": "9cdfdb956061c1f9138188dc", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "enim dolore" }, { "roleId": "labore non elit aliquip" }, { "roleId": "ullamco Duis" }, { "roleId": "ullamco aliqua nisi" } ], "inactive": true, "lastLogin": "2015-01-08T10:43:40.578Z", "_meta": { "created": "1950-03-03T11:50:15.338Z", "updated": "2012-09-04T15:58:04.567Z", "migrationVersion": 32583773 }, "email": "proident sunt" }, "tasks": { "workflow_start": { "x": 93364215.5703986, "y": -6726682.531245306, "gridCoordinate": { "x": 4199908.435124218, "y": -61353119.80654898 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -2581660.741885945, "finish_state": "error", "user": null }, "groups": [ "cbb174d36fb0fc32046c3b18", "default", "6ec5eec3fcf734a62bd2d407", { "_id": "731806cebfc4c34b55b49775", "provenance": "laboris", "name": "occaecat Lorem aliquip ipsum", "description": "minim tempor ex sint", "memberOf": [ { "groupId": "e48d30d089121bcc66cac2c6", "aaaManaged": true }, { "groupId": "43cd2d4515f20760b43b5bf1", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "magna labore" } ], "inactive": true, "_meta": { "created": "1964-06-26T06:38:27.604Z", "updated": "2004-04-19T04:10:59.045Z", "migrationVersion": 4724382 } }, { "_id": "b39cdaf6d281209ae4aef536", "provenance": "officia", "name": "Excepteur esse ad adipisicing", "description": "dolor adipisicing", "memberOf": [ { "groupId": "7fd21e55cd098e36045c0fed", "aaaManaged": true }, { "groupId": "641f4b6dd3bbda502c90ebf2", "aaaManaged": true }, { "groupId": "d360022baec83dcecffbf55e", "aaaManaged": false }, { "groupId": "4471192cec4ca1a5a7ecfb17", "aaaManaged": true }, { "groupId": "2c6ced8d3c397e8605dbb642", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "sunt elit Excepteur" }, { "roleId": "non elit fugiat" }, { "roleId": "ea dolor dolore" }, { "roleId": "mollit minim ea tempor" }, { "roleId": "amet ea dolore veniam irure" } ], "inactive": false, "_meta": { "created": "1995-02-28T00:09:15.423Z", "updated": "1964-04-15T17:04:40.437Z", "migrationVersion": -26325535 } } ], "iterations": [ "b74071D7-E1cd-d6De-DA24-fE54Cc1F44aE" ] }, "workflow_end": { "x": -56323584.40864053, "y": -19894512.004282832, "gridCoordinate": { "x": -12326643.424706414, "y": 53836683.49976164 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start", "workflow_start", "e28f" ], "complete": [ "e28f", "workflow_start", "workflow_start" ], "error": [ "e28f", "workflow_end", "error_handler", "workflow_start" ] }, "metrics": { "end_time": 99535009.67269135, "run_time": 70556996.45968634 }, "groups": [ { "_id": "c71188d1433e3e150a22dc05", "provenance": "irure amet fugiat", "name": "eiusmod consequat sint in ullamco", "description": "fugiat", "memberOf": [ { "groupId": "e51d60c4ea4dc4cc178deb3f", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "aliqua" } ], "inactive": false, "_meta": { "created": "1996-10-22T13:44:42.142Z", "updated": "1995-08-27T19:22:53.298Z", "migrationVersion": -3356635 } } ], "iterations": [ "0caC6650-bEEc-7CE8-aB23-0F89Cf6E3f5b" ] }, "error_handler": { "x": -29586836.502470598, "y": -296125.93054518104, "gridCoordinate": { "x": -81686510.08215661, "y": 29561913.858556196 }, "name": "childJob", "location": "Application", "locationType": null, "app": "Duis ex consectetur", "canvasName": "sint est minim nisi", "displayName": "adipisicing nostrud aliqua nulla dolore", "summary": "ex qui et quis nostrud", "description": "elit dolor consequat sed in", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/Q/qdBcubx/f+TnF" }, { "type": "encryption", "pointer": "/~0/nEvDxbTZ0/lOOpPzYSp/~0/H53J0gwji/~0/~0/~1/~1/~0/Uu7" }, { "type": "encryption", "pointer": "/fOjGQOBhX4g/VDnIPq1hf/ibp/fSb/~0/ydgiy2Jc/~1" }, { "type": "encryption", "pointer": "/NczBad/~1/~0/~1/mnvf/XzFd2O/i0nCf/toC0/B07oxS,iBq/fAyfovh.Wuq" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "dolor labore", "highlightString": "proident" }, { "key": "dolore id velit et cupidatat", "highlightString": "Lorem culpa ad" } ], "status": "error", "previous": { "incomplete": [ "3a1f" ], "complete": [ "e28f" ], "error": [ "workflow_start", "workflow_start", "e28f", "workflow_end", "e28f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "3a1f", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_end", "type": "revert" } ], "failure": [ { "task": "workflow_start", "type": "revert" }, { "task": "error_handler", "type": "revert" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "standard" }, { "task": "error_handler", "type": "loop" } ] }, "serverId": "commodo magna pariatur", "start_time": "1985-11-16T15:01:55.88Z", "end_time": -91577519.75290327, "finish_state": "failure", "retrySettings": { "state": [ "failure", "error", "success" ], "autoRetry": true, "limit": 54025291, "delay": 94555870, "count": 23014218, "finishedRetrying": false }, "type": "operation", "actor": "job", "groups": [ { "_id": "837e4fabda641393704cdf60", "provenance": "irure mollit quis culpa", "name": "ea", "description": "sit non id amet", "memberOf": [ { "groupId": "f2fc1fc950e19de896f35898", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "dolore in consectetur" }, { "roleId": "sunt" }, { "roleId": "consectetur quis adipisicing ad in" }, { "roleId": "Lorem sunt sed mollit" } ], "inactive": true, "_meta": { "created": "1970-11-04T07:46:27.126Z", "updated": "1950-07-04T20:45:54.743Z", "migrationVersion": 66451773 } } ], "iterations": [ "d7B01d7D-F51B-ab33-89ca-3AA6dEDe4db4", "BAF8bD4F-12be-CfdA-A52B-70AC82cf4f36", "d4354Ff7-e8a9-A0E6-C3FD-5DbC1ff4778b" ] }, "ad": { "x": 63218747.585240066, "y": 20118834.387781963, "gridCoordinate": { "x": -32224637.220626563, "y": 38900446.047783524 }, "name": "aliquip pariatur", "location": "Adapter", "locationType": null, "app": "nostrud quis sint dolore sed", "canvasName": "laboris quis dolore consectetur", "displayName": "sint aliqua dolore", "summary": "deserunt consectetur", "description": "minim dolore in", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/nP/HYV3+1cPr/~1/TJRp62xjeIT/HtKC+jFBJK/yB-u1Uvg3c/vLcPb9L/~0/~1/~0/Y+G" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "Lorem", "highlightString": "eu et minim" }, { "key": "Lorem exercitation", "highlightString": "ipsum" } ], "status": "canceled", "previous": { "incomplete": [ "workflow_start", "workflow_start", "workflow_end", "workflow_start" ], "complete": [ "workflow_start", "workflow_start", "3a1f", "workflow_start" ], "error": [ "workflow_start", "workflow_start", "error_handler", "e28f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" }, { "task": "e28f", "type": "standard" } ], "failure": [ { "task": "3a1f", "type": "standard" } ], "error": [ { "task": "e28f", "type": "revert" }, { "task": "workflow_end", "type": "loop" }, { "task": "3a1f", "type": "loop" } ] }, "serverId": "nulla", "start_time": "2015-09-30T15:34:09.816Z", "end_time": 16220326.866866544, "finish_state": "error", "retrySettings": null, "type": "operation", "actor": null, "groups": [ "d5017627e3c2050b9a3de0d1", "default", { "_id": "0e06bc3bacd4b86a9e28cf96", "provenance": "sunt fugiat", "name": "anim", "description": "proident deserunt quis dolor aliquip", "memberOf": [ { "groupId": "a6a5a0b545477aaab22e14a0", "aaaManaged": true }, { "groupId": "d79b882c5373609f8c1cecd6", "aaaManaged": true }, { "groupId": "f2af88a2047e898662c8d54c", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "reprehenderit Lorem labore" }, { "roleId": "sint" }, { "roleId": "dolor culpa consectetur ut" } ], "inactive": true, "_meta": { "created": "2002-05-30T02:27:13.533Z", "updated": "2008-01-03T03:16:12.802Z", "migrationVersion": 99987199 } }, { "_id": "af59200fa65f0f94326c7801", "provenance": "in in et dolor proident", "name": "veniam anim", "description": "nostrud dolor ea", "memberOf": [ { "groupId": "08962fb7022ee733128b9662", "aaaManaged": false }, { "groupId": "a71d68c718a7793400e832e7", "aaaManaged": false }, { "groupId": "257b71f2151e57ccb230347b", "aaaManaged": false }, { "groupId": "ee35285d17d3debbba437bcc", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "deserunt anim proident eu sit" }, { "roleId": "deserunt ut ad" }, { "roleId": "officia" } ], "inactive": true, "_meta": { "created": "2018-11-16T13:20:41.018Z", "updated": "2020-09-10T23:45:43.852Z", "migrationVersion": -44889633 } }, "default" ], "iterations": [] } }, "parent": { "job": "elit sed ipsum", "task": "magna labore dolore sed in", "iteration": 21614583.993321374, "element": 43138796.594539285 }, "errorHandler": null, "groups": [ "default" ], "watchers": [ null, "da2e96f947469089957dc810", "e1c5e401caa1d7bb232a69bb" ], "metrics": { "start_time": 4769300.166252896, "progress": 0.6945731796799035, "end_time": -13453740.098295867, "user": null, "owner": { "_id": "878b8ce91aa64423b209d82b", "provenance": "reprehenderit", "username": "exercitation", "firstname": "amet sit et fugiat", "memberOf": [ { "groupId": "c782300920bd04a746d32785", "aaaManaged": true }, { "groupId": "01e16d47fc02abfb2b334df1", "aaaManaged": true }, { "groupId": "fa4affc01f3f3d4a45c80137", "aaaManaged": true }, { "groupId": "8e2bc2feadcfd3a2db3dae94", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "exercitation in" } ], "inactive": false, "lastLogin": "1950-09-25T03:49:24.789Z", "_meta": { "created": "2008-01-18T17:48:10.219Z", "updated": "1962-01-13T23:43:10.856Z", "migrationVersion": -9008393 }, "email": "sit tempor" } } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }