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": "do" } }
{ "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 created the requested item", "data": { "_id": "2dabd8e35c94033e91f83010", "font_size": 15300707, "type": "automation", "created": "2012-03-09T23:02:48.86Z", "last_updated": "2023-11-05T10:44:05.532Z", "createdVersion": "650714659.4974073212.675", "lastUpdatedVersion": "40750196978.18247916792.52-5778.4629561.90183561289.42522875", "canvasVersion": 2, "encodingVersion": 1, "migrationVersion": -56139683, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": -98736455.32271844, "sla": -20027387.532984346, "decorators": [ { "type": "encryption", "pointer": "/OPYgq/fE/VR3gvec/~0/DHs" }, { "type": "encryption", "pointer": "/hwAhgUJX/U+0YCGu--+/c11/~1/~0/~1/BNlwY7+0G/~1" }, { "type": "encryption", "pointer": "/uH5+Im8I/~0/~0/LM" }, { "type": "encryption", "pointer": "/Yy/~1/bWZT7J-oE-/~1" } ], "status": "paused", "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 } ], "warnings": [ { "task": "workflow_end", "name": "myCoolDocumentName" }, { "task": "error_handler", "name": "myCoolDocumentName" } ], "ancestors": [ "f6bb0424ab7d0184f9964e0e", "357c0f1302492ccdd35fbe44" ], "validationErrors": [ { "keyword": "amet laborum nostrud", "dataPath": "dolor sit laboris exercitation", "schemaPath": "sit quis eiusmod magna sed", "message": "incididunt Duis" }, { "keyword": "aliqua velit", "dataPath": "eiusmod sunt", "schemaPath": "Lorem elit", "message": "aute dolor ea" }, { "keyword": "reprehenderit consectetur", "dataPath": "in commodo tempor", "schemaPath": "commodo", "message": "consequat amet occaecat officia elit" } ], "created_by": { "_id": "7cb2bb4062fc2a1fa3e26dce", "provenance": "qui", "username": "officia sint dolor do", "firstname": "consectetur ex dolor proident do", "memberOf": [ { "groupId": "f996577b75bbe400be866e06", "aaaManaged": true }, { "groupId": "59a50e6608a5eecadf36d531", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ex culpa nostrud est magna" }, { "roleId": "enim" }, { "roleId": "eu labore" }, { "roleId": "consectetur" } ], "inactive": false, "lastLogin": "2018-08-05T20:01:13.499Z", "_meta": { "created": "1961-03-24T07:52:05.209Z", "updated": "1970-05-25T20:29:42.017Z", "migrationVersion": -50590261 }, "email": "ipsum enim elit sint" }, "last_updated_by": "Pronghorn", "tasks": { "workflow_start": { "x": 98834335.84536389, "y": 16989996.325209007, "gridCoordinate": { "x": 54575156.45203355, "y": -24350754.60325864 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 88598795.69025499, "finish_state": "error", "user": "Pronghorn" }, "groups": [ "default", "d51cf03eadf8b7cebe28e922", "default", { "_id": "78020763eb3ed74cb2d0050c", "provenance": "pariatur sed enim aliqua", "name": "labore minim laborum ad Excepteur", "description": "consectetur veniam sed mollit occaecat", "memberOf": [ { "groupId": "88b76c7510b577dbd78763d0", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "dolore magna" }, { "roleId": "ipsum exercitation ut id adipisicing" }, { "roleId": "sit elit laborum ut" } ], "inactive": false, "_meta": { "created": "1959-06-25T10:12:28.051Z", "updated": "1976-05-05T04:42:40.018Z", "migrationVersion": 55834341 } } ], "iterations": [ "14b9Bf72-40cd-B52D-5eB3-Ed10A44AfE27", "fa3C5cb9-cb17-98BB-93De-242399eFbF96" ] }, "workflow_end": { "x": -93407669.67807803, "y": -95902368.39437498, "gridCoordinate": { "x": 97333216.23153293, "y": 32377142.597424984 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "3a1f", "workflow_start", "error_handler", "workflow_start", "workflow_start" ], "complete": [ "workflow_end", "e28f", "workflow_end", "workflow_end" ], "error": [ "3a1f", "error_handler", "workflow_start", "workflow_start", "workflow_start" ] }, "metrics": { "end_time": -12190783.476531535, "run_time": 20855136.64748189 }, "groups": [ "1a6e3ef39794b1c5474c2f7c", { "_id": "a18327b5c2c708e067b42a58", "provenance": "magna ut sed", "name": "pariatur dolore est adipisicing nulla", "description": "amet qui non cupidatat", "memberOf": [ { "groupId": "3d72914ecf5fb9d4629d76b2", "aaaManaged": true }, { "groupId": "467e7a12489c706b32bf6bb6", "aaaManaged": false }, { "groupId": "da7404f4e87bbc8f9e09e90f", "aaaManaged": false }, { "groupId": "9f8e07dea4653453c47ca647", "aaaManaged": true }, { "groupId": "839b6495d37cb1c362c37249", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "enim commodo Lorem reprehenderit velit" }, { "roleId": "sed" }, { "roleId": "sint minim anim" } ], "inactive": false, "_meta": { "created": "1947-04-27T10:30:54.979Z", "updated": "1950-01-27T09:09:52.107Z", "migrationVersion": -68807194 } }, "f86fc41eee8eeb431195dee0" ], "iterations": [ "702a21Ab-F71B-EeF8-FD0F-BF0CC65E6dfc", "2b72DffC-aa9E-8aaD-4c3a-505dB609b7E7", "5cFfD589-f2Aa-8Ed6-adf0-050b3CDAF300" ] }, "error_handler": { "x": 81515219.0164262, "y": 81875426.27478543, "gridCoordinate": { "x": -92859778.69514497, "y": -89601801.20922811 }, "name": "childJob", "location": "Broker", "locationType": null, "app": "Duis non in commodo", "canvasName": "eu dolore ad sunt veniam", "displayName": "Lorem cillum", "summary": "id occaecat laboris ex", "description": "non exercitation tempor", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/phv.," }, { "type": "encryption", "pointer": "/~0/ktwY" }, { "type": "encryption", "pointer": "/aO/MvZfvu/Ro7UdZ3-G5/~1" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "magna dolor", "highlightString": "voluptate" }, { "key": "aliquip ad pariatur", "highlightString": "sint minim" }, { "key": "dolor irure culpa officia", "highlightString": "magna" }, { "key": "magna ipsum", "highlightString": "pariatur sint fugiat" } ], "status": "complete", "previous": { "incomplete": [ "3a1f", "e28f", "3a1f", "workflow_start", "workflow_end" ], "complete": [ "workflow_end" ], "error": [ "workflow_start", "workflow_start", "workflow_start" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" }, { "task": "3a1f", "type": "loop" }, { "task": "error_handler", "type": "standard" } ], "failure": [ { "task": "3a1f", "type": "revert" }, { "task": "e28f", "type": "revert" } ], "error": [ { "task": "3a1f", "type": "revert" } ] }, "serverId": "ad in qui eiusmod Excepteur", "start_time": "2023-02-12T19:45:02.181Z", "end_time": -57452434.80175195, "finish_state": "failure", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ "default", "default" ], "iterations": [] }, "d1f": { "actor": { "_id": "906ebbe858e49e6edeea5319", "provenance": "proident", "username": "non occaecat", "firstname": "fugiat incididunt amet consequat in", "memberOf": [ { "groupId": "84752feb6c0a371cc2029a79", "aaaManaged": false }, { "groupId": "32429985952853a563ec1658", "aaaManaged": false }, { "groupId": "821607875b9e48bc3562e639", "aaaManaged": false }, { "groupId": "c505bb1ea4abc42347831ccb", "aaaManaged": false }, { "groupId": "a4a6b57a17eade41d98053a7", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "in ipsum" }, { "roleId": "nostrud dolore" } ], "inactive": false, "lastLogin": "1984-11-26T18:23:05.931Z", "_meta": { "created": "1951-10-13T17:07:09.578Z", "updated": "2011-06-16T17:15:20.228Z", "migrationVersion": -14730282 }, "email": "Ut officia" }, "groups": [ { "_id": "f4a51a447d5cdbddf2bf0baa", "provenance": "ipsum ad aliquip", "name": "eu in", "description": "officia adipisicing ad do", "memberOf": [ { "groupId": "5cb3fd43e6539e812d43dcc8", "aaaManaged": true }, { "groupId": "38c4e831afd839fa232f9d7b", "aaaManaged": true }, { "groupId": "ef8d16c0cddb31e67edb5c15", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ex qui nisi pariatur" }, { "roleId": "est occaecat aliquip et in" }, { "roleId": "reprehenderit Ut Lorem consectetur" }, { "roleId": "aute cillum in exercitation culpa" }, { "roleId": "Ut labore consectetur" } ], "inactive": false, "_meta": { "created": "1953-12-27T13:11:50.174Z", "updated": "1964-08-15T03:13:24.11Z", "migrationVersion": 70994187 } }, { "_id": "47c0699aeb810446f0b10616", "provenance": "nostrud ullamco sit eu", "name": "dolore Excepteur", "description": "officia", "memberOf": [ { "groupId": "73fd50e518b4903279d6b8be", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "anim nisi sed ex quis" }, { "roleId": "dolor ut aliquip proident labore" }, { "roleId": "et" }, { "roleId": "eiusmod laboris" }, { "roleId": "Ut sed officia aliquip" } ], "inactive": true, "_meta": { "created": "2021-02-19T16:40:04.529Z", "updated": "2017-04-12T14:28:20.081Z", "migrationVersion": -39310986 } }, "323d76e81fcb3e7083fe63ba", "44c315bc0852869f4c12313c", { "_id": "6a01176b467db1ef28a94cd8", "provenance": "sint sit pariatur tempor", "name": "eu irure in tempor", "description": "magna culpa consequat ut irure", "memberOf": [ { "groupId": "2168ecf048882fdca7c2867c", "aaaManaged": true }, { "groupId": "3d8eb6e5d2cbc9f1e17fe8ad", "aaaManaged": true }, { "groupId": "b2a50f9c505eac2732c32178", "aaaManaged": false }, { "groupId": "84a66674904eab31439a491c", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "non laborum Ut" }, { "roleId": "reprehenderit aliquip do in" }, { "roleId": "ea veniam in dolore" } ], "inactive": false, "_meta": { "created": "1956-06-07T19:29:51.351Z", "updated": "2011-07-31T07:16:39.349Z", "migrationVersion": 98538869 } } ], "iterations": [], "x": 28577702.731334224, "y": 5825399.547562778, "gridCoordinate": { "x": -63190532.53938307, "y": -76260266.89624558 }, "name": "reprehenderit laboris minim ad", "location": "Adapter", "locationType": null, "app": "laboris velit in sint aute", "canvasName": "childJob", "displayName": "exercitation sit", "summary": "ipsum nulla dolor ut laboris", "description": "sunt mollit exercitation", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/~1/lwQtv/~0/Gm" }, { "type": "encryption", "pointer": "/A+qfjNJLi3-/~1/H5,S-zLE+yq/jKOPU/fhd/~0" }, { "type": "encryption", "pointer": "/MZoPdR1vld9/~0/YQB.x/BeO/~0/tTN.LG2cC/XMbfrMI/q27/RQI" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "irure nisi veniam occaecat", "highlightString": "proident est dolor" }, { "key": "esse sint culpa ipsum", "highlightString": "dolor eu id" } ], "status": "paused", "previous": { "incomplete": [ "workflow_end", "workflow_end", "e28f" ], "complete": [ "workflow_start", "e28f" ], "error": [ "e28f", "workflow_start", "workflow_end" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "error_handler", "type": "standard" }, { "task": "workflow_end", "type": "loop" }, { "task": "error_handler", "type": "loop" } ], "failure": [ { "task": "3a1f", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_end", "type": "standard" }, { "task": "error_handler", "type": "standard" } ], "error": [ { "task": "3a1f", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "standard" }, { "task": "error_handler", "type": "revert" }, { "task": "3a1f", "type": "revert" } ] }, "serverId": "amet laboris dolore anim", "start_time": "1953-02-15T22:26:10.152Z", "end_time": -86126259.6196061, "finish_state": "success", "retrySettings": { "state": [ "error", "error", "success", "success", "failure" ], "autoRetry": true, "limit": 43632019, "delay": 66897687, "count": 96914337, "finishedRetrying": false }, "loop": { "atLeastOneComplete": false, "finishedCount": -28625182.44199115, "outgoing": [ null ] }, "childJobs": [ { "_id": "dolore minim cillum Excepteur ut", "name": "velit incididunt", "iteration": -67905296.81878099 } ] } }, "parent": { "task": "nisi occaecat laboris Excepteur", "iteration": -47270284.61847622, "element": -79385393.1588409 }, "errorHandler": null, "groups": [ "default", "e2bcaea6db7bb8ad9ac30d9c", { "_id": "88eb863f1f4009a81aac2170", "provenance": "aliquip ut ipsum incididunt", "name": "officia", "description": "in irure id adipisicing ex", "memberOf": [ { "groupId": "47dcf3107223d4a6d75fd3b9", "aaaManaged": true }, { "groupId": "d5648c1e8e64326cdd7b41dd", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "sit minim culpa pariatur" }, { "roleId": "nulla cupidatat" }, { "roleId": "non eu et" }, { "roleId": "proident" }, { "roleId": "deserunt laborum officia id pariatur" } ], "inactive": true, "_meta": { "created": "2002-12-11T23:40:51.899Z", "updated": "2009-08-11T22:04:43.369Z", "migrationVersion": 73493483 } }, "bd62b789d0d2550f7666cf7f" ], "watchers": [ null, { "_id": "a4d447a9349a1d3d46aac934", "provenance": "amet", "username": "amet aute dolor", "firstname": "mollit eu", "memberOf": [ { "groupId": "2d179cae13008ec106a5a933", "aaaManaged": false }, { "groupId": "7b8797cc3d43a0e149576b2b", "aaaManaged": false }, { "groupId": "99837644006de94004851764", "aaaManaged": false }, { "groupId": "0757b2de123ff990f3687b98", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "cillum sunt" }, { "roleId": "in dolor" } ], "inactive": false, "lastLogin": "2000-10-29T14:44:48.355Z", "_meta": { "created": "1968-01-03T12:55:05.373Z", "updated": "2017-08-01T12:56:17.618Z", "migrationVersion": -6375907 }, "email": "Excepteur sint fugiat et quis" } ], "metrics": { "start_time": -73249593.33355294, "progress": 0.8972355975103659, "end_time": -84014715.53269406, "user": null, "owner": "3285d2b2e0793872b4dfec25" } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }