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": "veniam aliquip adipisicing nostrud nisi" } }
{ "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 imported 3 of 4 documents", "data": { "_id": "e92f7990c7c076abeb359300", "font_size": 8762703, "type": "resource:compliance", "created": "1947-12-06T22:42:27.248Z", "last_updated": "1995-08-01T17:21:58.18Z", "createdVersion": "014706.39.80850-6398.79343.7157706006", "lastUpdatedVersion": "0.685.78-7547.2529470605.546644.131", "canvasVersion": 2, "encodingVersion": 1, "migrationVersion": -48112112, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 71279714.9552201, "sla": 11942522.454016566, "decorators": [ { "type": "encryption", "pointer": "/l/~0/o7c47zv0./RE3xlR/t/UaSesW+/acZ" }, { "type": "encryption", "pointer": "/~1/h//~0/~1/y/~0/eCWf/HdkzCc/gX" }, { "type": "encryption", "pointer": "/~1/JUS59u/~1/F/~1/a/~1/~0" } ], "status": "incomplete", "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 }, { "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": "error_handler", "name": "myCoolDocumentName" }, { "task": "e28f", "name": "myCoolDocumentName", "message": "id" }, { "task": "3a1f", "name": "myCoolDocumentName" }, { "task": "3a1f", "name": "myCoolDocumentName" }, { "task": "e28f", "name": "myCoolDocumentName" } ], "ancestors": [ "b81eef865735f561106974b7", "5853377a46bb34c5c73c1778" ], "validationErrors": [ { "keyword": "fugiat Ut in ipsum", "instancePath": "culpa nostrud ad laborum", "schemaPath": "deserunt ut dolore ullamco aliqua", "message": "eiusmod mollit commodo in" }, { "keyword": "dolor", "instancePath": "Duis enim consectetur", "schemaPath": "pariatur in aliqua", "message": "Ut sint ex aute" } ], "created_by": null, "last_updated_by": "Pronghorn", "tasks": { "5190": { "actor": "job", "groups": [ "default", "9d341b93700355601e428ac8", "93e63d08ae7b372dbe8d455c", { "_id": "df242c6d8ca51d7aff54f718", "provenance": "dolore ipsum nulla", "name": "et eiusmod culpa anim", "description": "id aliqua", "memberOf": [ { "groupId": "78b7a56612aad87616dabe48", "aaaManaged": true }, { "groupId": "9533ec119b048860b4c07294", "aaaManaged": false }, { "groupId": "44a4427f12166e9981679283", "aaaManaged": false }, { "groupId": "4e96866e9285a08920b56739", "aaaManaged": false }, { "groupId": "53586f645d92b4bd1c9145d2", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "Lorem reprehenderit elit" }, { "roleId": "magna" } ], "inactive": false, "_meta": { "created": "2019-09-20T17:35:46.264Z", "updated": "1966-09-07T16:12:06.21Z", "migrationVersion": 20496009 } }, { "_id": "55041af8509d16e23a8cb00e", "provenance": "ut", "name": "Excepteur et irure fugiat", "description": "laborum", "memberOf": [ { "groupId": "1cf94d8e96d1f0e5a118847f", "aaaManaged": true }, { "groupId": "bdab890762f86affb926b5a0", "aaaManaged": true }, { "groupId": "27ce0a9635a23c35c4da70f4", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "et dolor" }, { "roleId": "veniam mollit" }, { "roleId": "cupidatat do adipisicing aliqua" }, { "roleId": "officia dolor nostrud tempor Lorem" }, { "roleId": "Excepteur ad dolore qui" } ], "inactive": true, "_meta": { "created": "1985-08-21T01:33:26.797Z", "updated": "1996-11-27T07:26:54.939Z", "migrationVersion": -92640715 } } ], "iterations": [ "7bfAffeb-f85e-24B0-4eF7-A7F16E655CAC" ], "x": -62901351.734739386, "y": 16920882.48967503, "gridCoordinate": { "x": 58851807.424176335, "y": -16766834.138866797 }, "name": "in", "location": "Application", "locationType": "quis ad", "app": "aliqua Excepteur quis", "canvasName": "sunt incididunt non Excepteur ut", "displayName": "voluptate nulla in sint aute", "summary": "aliqua officia amet veniam consequat", "description": "amet quis irure consequat aute", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/rR/aDQv2k6Q1Ub/~0/p4I92N/F2h/U9L/V7e/~1/~1" }, { "type": "encryption", "pointer": "/WIOCQIoPg" }, { "type": "encryption", "pointer": "/~1" }, { "type": "encryption", "pointer": "/~1" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "Duis tempor et commodo dolor", "highlightString": "dolor" } ], "status": "paused", "previous": { "incomplete": [ "workflow_end" ], "complete": [ "e28f", "workflow_end", "workflow_start" ], "error": [ "workflow_end", "workflow_start", "workflow_start", "workflow_end", "workflow_end" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "3a1f", "type": "revert" } ], "failure": [ { "task": "e28f", "type": "standard" }, { "task": "workflow_end", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "revert" } ] }, "serverId": "dolore eiusmod", "start_time": "1970-01-24T01:20:04.637Z", "end_time": -25547176.100565985, "finish_state": "failure", "retrySettings": null, "type": "automatic" }, "workflow_start": { "x": -24197146.752352297, "y": -97027473.16229203, "gridCoordinate": { "x": -47392993.90692931, "y": -66503573.29971528 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 54087975.88836637, "finish_state": "failure", "user": "Pronghorn" }, "groups": [ "33a56fdfdc5f28aac21de82e", "default", "0493a6786e9a06c1fe71fe95", { "_id": "d909e852c67b254159cabfc3", "provenance": "commodo aliquip", "name": "voluptate cupidatat in", "description": "dolor elit amet", "memberOf": [ { "groupId": "0f301918e569ab63da70dfab", "aaaManaged": false }, { "groupId": "b0395ac54244d3bf3b25afdf", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "exercitation" }, { "roleId": "consectetur deserunt Excepteur" }, { "roleId": "amet aliquip officia incididunt consectetur" }, { "roleId": "laborum Ut deserunt quis ipsum" } ], "inactive": true, "_meta": { "created": "1947-09-11T11:53:52.425Z", "updated": "2023-05-19T19:52:18.922Z", "migrationVersion": -26809128 } } ], "iterations": [] }, "workflow_end": { "x": 81381299.62177977, "y": -6584067.864275232, "gridCoordinate": { "x": 88663387.56872842, "y": 89450665.82960251 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "error_handler" ], "complete": [ "workflow_start", "e28f" ], "error": [ "workflow_start", "workflow_start" ] }, "metrics": { "end_time": -3344656.3006243557, "run_time": -57868222.55729414 }, "groups": [ { "_id": "4bdbf009cea13e3ab468d491", "provenance": "dolor do incididunt veniam", "name": "tempor velit laboris", "description": "aliquip dolore reprehenderit eu eiusmod", "memberOf": [ { "groupId": "d328f74b827f433f7be90378", "aaaManaged": false }, { "groupId": "846057aa7258290926042065", "aaaManaged": true }, { "groupId": "7d2f8f8d10a55783efcb152a", "aaaManaged": true }, { "groupId": "293e7d8150b1ddcdadedecca", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "labore magna" }, { "roleId": "et" } ], "inactive": true, "_meta": { "created": "1947-07-22T23:57:39.964Z", "updated": "2012-12-28T20:17:42.412Z", "migrationVersion": -83063247 } }, "edee90924a088507018f2cc4", "default" ], "iterations": [] }, "error_handler": { "x": 9281643.807350636, "y": 35892942.568203, "gridCoordinate": { "x": 37321212.660541505, "y": -74571036.9393457 }, "name": "childJob", "location": "Broker", "locationType": "officia", "app": "non enim adipisicing Lorem occaecat", "canvasName": "dolore velit dolor", "displayName": "dolor veniam", "summary": "proident", "description": "eu aliquip voluptate pariatur", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/nYKq3jhb/~0/~1/~0/~0/~0/~0/Lv,-9/XidQc4/~1/~1" }, { "type": "encryption", "pointer": "/~1/uf/8t0-/~1/~1/~0/~1/~0" }, { "type": "encryption", "pointer": "/SCGKwBeCe/~1/SM/fY/~0/~1/tY-5wpbH-pL" }, { "type": "encryption", "pointer": "/~0/~0/b4AX.7Q5uZ0/PxUv2RZ8ab7/PS/x/aouXF9Wt/~1/BxD/bz2j3PB5Ph" }, { "type": "encryption", "pointer": "/~0/d,1w8i9O-m/BhN/~0/Ev7Q61DZBe2/jCNGV/Xak,WGiwxc/~1/zL3/Asb/SE" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "est dolore", "highlightString": "ut" }, { "key": "amet in esse aute Excepteur", "highlightString": "labore dolore minim ut id" }, { "key": "occaecat irure commodo enim et", "highlightString": "velit nostrud dolor" } ], "status": "error", "previous": { "incomplete": [ "3a1f", "workflow_start" ], "complete": [ "workflow_start", "error_handler", "workflow_start" ], "error": [ "workflow_start", "workflow_start" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_end", "type": "loop" }, { "task": "3a1f", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "standard" } ], "error": [ { "task": "3a1f", "type": "loop" } ] }, "serverId": "Lorem est id", "start_time": "1965-04-14T01:48:41.996Z", "end_time": -24826777.226007834, "finish_state": "error", "retrySettings": null, "type": "operation", "actor": "Pronghorn", "groups": [ "ee2dc0e1e5fbee59ee5ae96c", "55ef8f25d24190c88623ea15", { "_id": "970eba34f8a26e9adab6ba4a", "provenance": "cillum esse qui Ut voluptate", "name": "occaecat Ut voluptate consequat", "description": "voluptate", "memberOf": [ { "groupId": "c7d2f097babc054c649237ff", "aaaManaged": true }, { "groupId": "250813a867ddd248af347253", "aaaManaged": true }, { "groupId": "27e8caa86be39dcac476caac", "aaaManaged": true }, { "groupId": "87ead076df699044dc3890d5", "aaaManaged": true }, { "groupId": "2cede6b4dd860b8b9dd389d9", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "tempor" }, { "roleId": "laboris" }, { "roleId": "et sed exercitation" }, { "roleId": "aute laboris do nostrud elit" }, { "roleId": "occaecat ex nulla in magna" } ], "inactive": true, "_meta": { "created": "1990-12-30T05:19:39.583Z", "updated": "1989-10-29T15:19:40.434Z", "migrationVersion": 69187190 } }, "default", "424e23521b9ae989721998a2" ], "iterations": [ "fCfaaA89-bbAA-67cB-5bBa-6e1a61400Dc9" ] } }, "parent": { "job": "anim ut labore", "task": "dolore id", "iteration": 86824047.92597347, "element": 58595806.67558384 }, "errorHandler": { "actor": "$var.job.yX9afWEbZoE", "groups": [ "default", "bb0cc3a37d96ea2e1c935335", { "_id": "1cc181f91c3832dd87b3d697", "provenance": "proident eu amet ut", "name": "mollit Ut tempor", "description": "velit", "memberOf": [ { "groupId": "ae24c9c0a0684b9d50743f15", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "occaecat dolor" }, { "roleId": "minim voluptate veniam" }, { "roleId": "est" } ], "inactive": true, "_meta": { "created": "2020-02-22T20:15:24.936Z", "updated": "1984-12-25T12:47:57.291Z", "migrationVersion": -83648101 } }, { "_id": "80e7956c7aa3c1d863d3171f", "provenance": "consectetur in commodo", "name": "sunt", "description": "dolore ex veniam sed", "memberOf": [ { "groupId": "0c943d961e41a3dddb8c332a", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "reprehenderit do ut veniam" }, { "roleId": "Ut Lorem consequat" }, { "roleId": "ex ad aliquip occaecat sunt" } ], "inactive": true, "_meta": { "created": "2004-10-22T11:30:51.138Z", "updated": "1982-07-09T06:50:43.795Z", "migrationVersion": 52663005 } }, "ae6e758056d110d4934221f8" ], "iterations": [], "x": -28099969.384465158, "y": -26803854.30475156, "gridCoordinate": { "x": 90094413.01483569, "y": 65062211.75759995 }, "name": "dolor sunt irure pariatur", "location": "Adapter", "locationType": null, "app": "ea quis", "canvasName": "cillum mollit", "displayName": "aliqua aute quis fugiat qui", "summary": "anim", "description": "esse", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/NUnXNY6/~1" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "esse", "highlightString": "ullamco in ex adipisicing" }, { "key": "laborum esse deserunt in", "highlightString": "sed" }, { "key": "adipisicing consectetur irure", "highlightString": "adipisicing consectetur ea Ut" } ], "status": "failure", "previous": { "incomplete": [ "workflow_start", "workflow_start", "error_handler", "error_handler" ], "complete": [ "workflow_start" ], "error": [ "workflow_start", "workflow_start", "e28f" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "3a1f", "type": "loop" } ], "failure": [ { "task": "error_handler", "type": "standard" }, { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "revert" }, { "task": "3a1f", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "standard" } ] }, "serverId": "sunt fugiat", "start_time": "1989-07-18T07:03:31.021Z", "end_time": 90279319.4390108, "finish_state": "success", "retrySettings": { "state": [ "failure" ], "autoRetry": true, "limit": 88609982, "delay": 59892292, "count": 74370933, "finishedRetrying": false }, "type": "automatic" }, "groups": [ { "_id": "4106d38abe76be6d6b93f872", "provenance": "labore mollit elit proident sit", "name": "quis officia est labore", "description": "labore", "memberOf": [ { "groupId": "42ebf2e272eeb3ae9f48c1ad", "aaaManaged": false }, { "groupId": "27ac80c574d7421433a82b39", "aaaManaged": true }, { "groupId": "9a74f65184fc92501ba437d9", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "reprehenderit deserunt sit" }, { "roleId": "aliqua" } ], "inactive": true, "_meta": { "created": "1968-12-16T04:26:19.684Z", "updated": "1986-02-08T20:21:55.812Z", "migrationVersion": 39993049 } }, "default" ], "watchers": [ null, { "_id": "0c42e702fad2a98b3e907163", "provenance": "consectetur voluptate esse", "username": "in ut ut reprehenderit eu", "firstname": "in quis ea occaecat labore", "memberOf": [ { "groupId": "5d5fa85b0fdaae9a86bc6a69", "aaaManaged": false }, { "groupId": "e0eb3fe4e4acfd13fefc48a1", "aaaManaged": true }, { "groupId": "93c758c728202d1b85795c71", "aaaManaged": false }, { "groupId": "c0721c2239a707afb8d361d5", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "nulla laborum ut" } ], "inactive": false, "lastLogin": "1994-12-02T15:17:31.587Z", "_meta": { "created": "1984-01-28T22:22:51.799Z", "updated": "1972-11-05T05:22:16.219Z", "migrationVersion": 40271572 }, "email": "id qui esse irure voluptate" }, "Pronghorn" ], "metrics": { "start_time": 96254738.07373285, "progress": 0.5791894266488371, "end_time": 4012752.028953731, "user": { "_id": "494acdb6d14c5b813210c6ed", "provenance": "dolor dolore laborum reprehenderit ex", "username": "aliquip", "firstname": "voluptate enim commodo tempor", "memberOf": [ { "groupId": "c54e6806a58e874de7606cad", "aaaManaged": true }, { "groupId": "917a001219e88d6740b3231d", "aaaManaged": true }, { "groupId": "88ad49cf32ca9e0a00600363", "aaaManaged": true }, { "groupId": "b97b14bbeccba426deab9e96", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "consectetur amet enim" }, { "roleId": "officia dolor aute esse aliqua" }, { "roleId": "esse" }, { "roleId": "sit voluptate irure" } ], "inactive": false, "lastLogin": "2014-11-12T04:35:09.232Z", "_meta": { "created": "1971-05-12T02:27:34.545Z", "updated": "1954-03-29T01:52:49.167Z", "migrationVersion": 36324341 }, "email": "proident dolor dolore" }, "owner": "Pronghorn" } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }