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": "ea consectetur anim" } }
{ "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": "0e0d9edb46cc844680ad8528", "font_size": -29032562, "type": "automation", "created": "1981-04-19T05:59:23.218Z", "last_updated": "1980-10-18T22:59:40.421Z", "createdVersion": "2070531.656114.207965-7363.00.36486.401236", "lastUpdatedVersion": "7753.45124.898702888", "canvasVersion": 1.5, "encodingVersion": 1, "migrationVersion": -5979938, "name": "myCoolDocumentName", "description": null, "preAutomationTime": -14940964.411853403, "sla": 35681078.66325164, "decorators": [ { "type": "encryption", "pointer": "/~0/~1/DugB2/~1/~0/~0/XkNM77y2Fz6/mi/yOLq8KwA/Dd2V+e/teC5vv" } ], "status": "complete", "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": "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" }, { "task": "error_handler", "name": "myCoolDocumentName", "message": "dolore nisi nostrud" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName" } ], "ancestors": [ "6438d623db97f381fe863d19", "28f04a1e8aef9753234dfdfd" ], "validationErrors": [ { "keyword": "sunt", "dataPath": "consequat Excepteur consectetur", "schemaPath": "ut ullamco pariatur in", "message": "Lorem minim" }, { "keyword": "fugiat ut enim culpa ad", "dataPath": "laborum consequat", "schemaPath": "esse in amet et", "message": "et" }, { "keyword": "aute", "dataPath": "magna deserunt", "schemaPath": "esse tempor sed", "message": "sed" } ], "created_by": "Pronghorn", "last_updated_by": "3636696e454c6283bacb6df4", "tasks": { "workflow_start": { "x": -49159445.17252733, "y": 68865542.62886512, "gridCoordinate": { "x": -34966088.768910274, "y": -72380.93925315142 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -37372607.890624955, "finish_state": "failure", "user": "683bc86a6f64e774a7112117" }, "groups": [ { "_id": "31df9f8c9705b083a9709415", "provenance": "aliquip aute est", "name": "magna Ut", "description": "anim", "memberOf": [ { "groupId": "822d063d8e46bfcae1ac30e2", "aaaManaged": true }, { "groupId": "72820580710c9b6c77442b7a", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "non dolore in" } ], "inactive": false, "_meta": { "created": "1994-10-27T04:33:56.816Z", "updated": "1976-09-01T00:59:28.36Z", "migrationVersion": 74682908 } }, { "_id": "c32dd46a60b47a7431e35490", "provenance": "minim est ullamco", "name": "dolore reprehenderit est", "description": "fugiat", "memberOf": [ { "groupId": "3180ecdd2bc3bcbc7eaf1b09", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "quis sit in" }, { "roleId": "mollit magna nostrud commodo" }, { "roleId": "ipsum" }, { "roleId": "irure sit in esse ad" }, { "roleId": "commodo culpa" } ], "inactive": false, "_meta": { "created": "1967-10-03T19:49:59.537Z", "updated": "2008-03-20T18:27:27.395Z", "migrationVersion": -61535102 } }, "default", "default", "default" ], "iterations": [] }, "workflow_end": { "x": -4287562.474629551, "y": 71799308.56560484, "gridCoordinate": { "x": -66531002.76119308, "y": 68853700.73934588 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_end", "error_handler", "3a1f", "3a1f" ], "complete": [ "workflow_start", "e28f" ], "error": [ "workflow_end", "workflow_start", "e28f", "3a1f", "workflow_end" ] }, "metrics": { "end_time": 19070183.939842254, "run_time": -81943095.09850001 }, "groups": [ "default" ], "iterations": [ "BF319409-833A-c813-6cfA-dC963B5313eE" ] }, "error_handler": { "x": 15990131.275386915, "y": -44781028.705423646, "gridCoordinate": { "x": -11398159.075373381, "y": -83451396.6369534 }, "name": "childJob", "location": "Application", "locationType": null, "app": "sint", "canvasName": "mollit nostrud", "displayName": "tempor ea minim consectetur dolor", "summary": "Excepteur deserunt proident quis", "description": "mollit", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/XDE8/~1/r3-gcV9zwMI/~0/~1" }, { "type": "encryption", "pointer": "/ixV/tA/Lllosx/Mjgk" }, { "type": "encryption", "pointer": "/U/zrFBtXWo6e/MsJV-tU/~0/~1/~1" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "in exercitation sint", "highlightString": "qui tempor Excepteur" }, { "key": "sint amet consectetur elit in", "highlightString": "sint enim incididunt dolor quis" }, { "key": "magna pariatur", "highlightString": "Excepteur" } ], "status": "canceled", "previous": { "incomplete": [ "e28f" ], "complete": [ "workflow_start", "error_handler", "3a1f", "error_handler", "e28f" ], "error": [ "3a1f", "workflow_start", "workflow_start", "workflow_start", "3a1f" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" }, { "task": "error_handler", "type": "standard" }, { "task": "error_handler", "type": "revert" }, { "task": "workflow_end", "type": "revert" }, { "task": "3a1f", "type": "loop" } ], "failure": [ { "task": "workflow_start", "type": "standard" } ], "error": [ { "task": "3a1f", "type": "loop" }, { "task": "workflow_end", "type": "revert" }, { "task": "error_handler", "type": "standard" }, { "task": "workflow_end", "type": "loop" }, { "task": "workflow_start", "type": "revert" } ] }, "serverId": "consequat Excepteur anim", "start_time": "1950-07-30T08:59:56.231Z", "end_time": 47586817.981852144, "finish_state": "success", "retrySettings": { "state": [ "success", "error", "error", "failure", "failure" ], "autoRetry": false, "limit": 57417913, "delay": 22690870, "count": 34437553, "finishedRetrying": false }, "type": "operation", "actor": { "_id": "7b8a31f0153a4311e2fb7c0a", "provenance": "in cupidatat proident", "username": "nisi cupidatat consectetur aliqua", "firstname": "aliqua", "memberOf": [ { "groupId": "cce9c94cfce1988d14ec0969", "aaaManaged": true }, { "groupId": "e6d0a032910931288a12c98d", "aaaManaged": false }, { "groupId": "2d9eaeb069890b977f5e4e80", "aaaManaged": true }, { "groupId": "3751358796a2a9da97380b08", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "non minim aliquip sint aliqua" } ], "inactive": true, "lastLogin": "1961-05-20T19:01:24.827Z", "_meta": { "created": "2023-10-17T18:04:26.357Z", "updated": "1966-03-30T12:10:40.872Z", "migrationVersion": -60244045 }, "email": "fugiat adipisicing esse nostrud" }, "groups": [ "70406e68a72e13648bf250e2", "d2bbadd593780aa1218a023b" ], "iterations": [ "B57EC226-fC5a-617F-388A-AcF34A6e7cAE" ] }, "e": { "actor": "99f2ab8acde53dc5db043bed", "groups": [ "default", { "_id": "4764e0c2bc08e7f84642c77b", "provenance": "eiusmod non", "name": "Duis sint ea nostrud dolor", "description": "esse", "memberOf": [ { "groupId": "56c1018850e21a7dfc29b648", "aaaManaged": true }, { "groupId": "2e45eb808f854474d8d06714", "aaaManaged": true }, { "groupId": "2e4d092014b60343fd283fa2", "aaaManaged": true }, { "groupId": "49ce53e4f2bc0eb5746b0961", "aaaManaged": false }, { "groupId": "2fdfb30b95432685dafb217f", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "est fugiat" } ], "inactive": true, "_meta": { "created": "2015-08-07T16:54:36.047Z", "updated": "2024-04-12T05:59:25.914Z", "migrationVersion": -71477301 } }, "292edb7294ebab643f94ed75", "61d3739908c125d3f0f7c172" ], "iterations": [ "EdcD55d1-F41B-3BA3-b0F4-fbb2E7eFF78D" ], "x": -94061983.29344684, "y": -18535238.82071109, "gridCoordinate": { "x": -57631247.856520094, "y": 23435554.61884001 }, "name": "pending", "summary": "cillum anim", "description": "amet" } }, "parent": { "job": "eiusmod amet aute qui", "task": "dolore esse amet cupidatat", "iteration": 1243355.5044252425, "element": 36831466.85783404 }, "errorHandler": null, "groups": [ "default", "67a4dec2283bfe40c5a6247a" ], "watchers": [ "3b736f09d8fdf93dfd329ed8", { "_id": "fd9bca189986d0848ec9632f", "provenance": "esse", "username": "Lorem officia", "firstname": "labore irure sed qui", "memberOf": [ { "groupId": "29d7f8a9c39acd83dd0f599c", "aaaManaged": true }, { "groupId": "92cf4d5f647cc085f0030906", "aaaManaged": false }, { "groupId": "ddf3ee5b0fcfd3965980935e", "aaaManaged": false }, { "groupId": "6234ac5d98927219125842fa", "aaaManaged": true }, { "groupId": "2f25ccdc82438f3944b487d0", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "do sint ad" }, { "roleId": "sit dolore mollit adipisicing aute" }, { "roleId": "est" } ], "inactive": true, "lastLogin": "1950-01-10T13:27:14.892Z", "_meta": { "created": "1987-08-17T16:14:05.372Z", "updated": "1996-07-28T13:16:43.871Z", "migrationVersion": 35242611 }, "email": "exercitation reprehenderit nulla dolor" }, null ], "metrics": { "start_time": -2615916.3555983305, "progress": 0.21275881272616148, "end_time": -72294914.27873915, "user": "Pronghorn", "owner": { "_id": "b78a043899f4b4e1559a9e00", "provenance": "Excepteur", "username": "sint labore nostrud aliquip", "firstname": "adipisicing consequat do", "memberOf": [ { "groupId": "7ffb42a7c7ff3214ce8bcd51", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "laboris anim mollit veniam" }, { "roleId": "sit commodo dolor" }, { "roleId": "aliqua Duis laboris" } ], "inactive": false, "lastLogin": "1946-07-03T02:13:40.221Z", "_meta": { "created": "1967-01-11T19:36:39.662Z", "updated": "1947-05-29T13:55:02.186Z", "migrationVersion": -12719043 }, "email": "ut non culpa elit" } } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }