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": "occaecat ut sunt in veniam" } }
{ "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": "f1ca60a398d5dc2a11d2fed8", "font_size": -78907500, "type": "automation", "created": "1951-05-05T20:57:25.732Z", "last_updated": "1980-12-24T20:22:03.174Z", "createdVersion": "047864091.7848912381.01969637806", "lastUpdatedVersion": "7857.2.5940", "canvasVersion": 1, "encodingVersion": 1, "migrationVersion": 43948348, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": -77550487.69076915, "sla": -58875786.06393209, "decorators": [ { "type": "encryption", "pointer": "/a5,gBzM/~0/~0/~1/~0" }, { "type": "encryption", "pointer": "/gq6dag.vA2j/RIcwO,P/lI5r.r/nt-/LMQyswScGak/ydlXs/Da-Lk3QzvjW/~1/qV/aMjh8,3lkzK" } ], "status": "paused", "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": "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 }, { "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", "message": "adipisicing id nisi in" }, { "task": "3a1f", "name": "myCoolDocumentName" }, { "task": "3a1f", "name": "myCoolDocumentName", "message": "qui proident et" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "elit pariatur" }, { "task": "e28f", "name": "myCoolDocumentName" } ], "ancestors": [ "fd4813f598e5ddeda38d810b", "cb9a5a823b296e229b9689d7", "e4fe9c478c3768b931294707", "47ea36b91d7dbf6504a07008" ], "validationErrors": [ { "keyword": "ullamco aliqua culpa commodo", "dataPath": "dolor in culpa", "schemaPath": "nostrud ea officia Duis", "message": "sint deserunt minim" } ], "created_by": { "_id": "5a886b928cc64f1fb5b2990c", "provenance": "minim", "username": "esse incididunt elit", "firstname": "ut", "memberOf": [ { "groupId": "e712d0eeb39cdbb0716a25d3", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "Excepteur" }, { "roleId": "commodo consequat" }, { "roleId": "irure Ut" }, { "roleId": "in adipisicing dolor" } ], "inactive": true, "lastLogin": "2006-12-08T14:01:14.096Z", "_meta": { "created": "1983-07-23T09:12:43.551Z", "updated": "1958-08-28T15:56:20.335Z", "migrationVersion": 7011719 }, "email": "fugiat tempor dolor elit" }, "last_updated_by": "d353c27e4dc65c4482731917", "tasks": { "workflow_start": { "x": -47945333.13855505, "y": 66573098.61703104, "gridCoordinate": { "x": -47086989.268474475, "y": 93520586.50560638 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 27757899.9976082, "finish_state": "error", "user": "Pronghorn" }, "groups": [ "default", "default", "default", { "_id": "040f0af3d0a79d10c0bf51b4", "provenance": "sint dolore", "name": "do aute irure", "description": "Duis voluptate", "memberOf": [ { "groupId": "6fc3f48d8f99b6e65f9a41a9", "aaaManaged": false }, { "groupId": "626594bda22681c0f96c66a9", "aaaManaged": true }, { "groupId": "63205ab7ea0387d96f3493ec", "aaaManaged": false }, { "groupId": "d0d2ab43ecf8a0b3ddc939e4", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "occaecat" }, { "roleId": "et in esse est" }, { "roleId": "ea aliqua Ut" } ], "inactive": true, "_meta": { "created": "2011-02-15T00:01:51.285Z", "updated": "1950-02-03T12:21:10.727Z", "migrationVersion": -24321363 } }, "30bf151e93a6f59daf402307" ], "iterations": [] }, "workflow_end": { "x": -92988862.54530765, "y": 72694714.28444093, "gridCoordinate": { "x": 64263248.527077734, "y": -47950676.11358528 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "error_handler", "e28f", "workflow_start", "3a1f", "workflow_end" ], "complete": [ "3a1f" ], "error": [ "workflow_start", "workflow_start" ] }, "metrics": { "end_time": -25184884.507932097, "run_time": 39479545.08507165 }, "groups": [ "default" ], "iterations": [ "f735Fe76-712d-E15d-e29c-8fbb8CDb9Edb", "BaEbFEa5-9D29-8Cda-E7B1-F98daDc8182e" ] }, "error_handler": { "x": -46883137.53673974, "y": -88894732.06447649, "gridCoordinate": { "x": -11502862.020484582, "y": -48549705.79577622 }, "name": "childJob", "location": "Adapter", "locationType": null, "app": "minim irure adipisicing", "canvasName": "aliqua nulla", "displayName": "et ea deserunt non", "summary": "aliquip amet", "description": "laborum", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/p5LbbO/N/~1/~1/JgCRMzejm3B/CTf" }, { "type": "encryption", "pointer": "/PLw98/OBl5IbFl/~1/~0/FBd+" }, { "type": "encryption", "pointer": "/~0/~1/FB/z,R/uR/~0/L//~1" }, { "type": "encryption", "pointer": "/iROFgIJ" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "eu exercitation id in labore", "highlightString": "occaecat" }, { "key": "culpa", "highlightString": "do id nostrud" } ], "status": "scheduled", "previous": { "incomplete": [ "workflow_start", "workflow_start" ], "complete": [ "e28f", "3a1f", "e28f", "e28f", "e28f" ], "error": [ "error_handler", "workflow_start", "workflow_end", "3a1f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "3a1f", "type": "standard" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "3a1f", "type": "revert" } ], "failure": [ { "task": "workflow_end", "type": "standard" } ], "error": [ { "task": "3a1f", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "error_handler", "type": "revert" }, { "task": "error_handler", "type": "revert" } ] }, "serverId": "exercitation Lorem do", "start_time": "2014-07-01T21:42:05.088Z", "end_time": 37163742.57832399, "finish_state": "error", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ "e43e08a8b91ea09fd8219de9", "default", "ae724621152feaba818bdbf1", "5637c3522dcbf2667487de52" ], "iterations": [ "b5D9Da43-c57c-1AFc-0a9d-a6bdDD6BcCA1", "7bBbeC0F-F9bd-AF55-DB89-336E8D2Ae8Dc" ] }, "441b": { "actor": "job", "groups": [ "27087e48e52a8a1813b02832" ], "iterations": [ "C6bf3edC-B0b2-fFA6-512D-6d0d302B063a", "7bC35BEf-98cB-7E08-C70C-5aa1864D388F" ], "x": 58170904.48916882, "y": 16944395.480640262, "gridCoordinate": { "x": -36219165.93621388, "y": -12731838.55475372 }, "name": "sunt ullamco aliqua", "location": "Adapter", "locationType": null, "app": "Duis ipsum", "canvasName": "sit eiusmod", "displayName": "minim nulla in ad", "summary": "pariatur laborum id incididunt", "description": "occaecat ea Lorem labore", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/coFYjSuU/~1/N3WnVy/ElP" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "amet aute anim ut", "highlightString": "minim" }, { "key": "Duis officia anim dolor incididunt", "highlightString": "adipisicing in velit laboris mollit" }, { "key": "sit culpa sint reprehenderit proident", "highlightString": "aute Ut" } ], "status": "complete", "previous": { "incomplete": [ "3a1f", "error_handler", "workflow_start", "workflow_start", "workflow_start" ], "complete": [ "workflow_end" ], "error": [ "workflow_start", "workflow_start", "workflow_end" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "workflow_end", "type": "loop" }, { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "workflow_start", "type": "loop" }, { "task": "error_handler", "type": "revert" } ] }, "serverId": "tempor", "start_time": "2022-11-20T21:54:17.296Z", "end_time": 97111254.95723444, "finish_state": "error", "retrySettings": { "state": [ "error" ], "autoRetry": true, "limit": 53175221, "delay": 48689059, "count": 61690160, "finishedRetrying": false }, "type": "manual", "view": "eu pariatur sint occaecat" } }, "parent": { "task": "occaecat adipisicing", "iteration": -24917347.47582543, "element": 94565962.79158583 }, "errorHandler": { "actor": "Pronghorn", "groups": [ { "_id": "fcf506d2bcd1e50ee9237e1f", "provenance": "elit aute nostrud velit in", "name": "exercitation Duis consequat tempor eu", "description": "occaecat magna voluptate nisi", "memberOf": [ { "groupId": "32abf217ca252fb321d74eca", "aaaManaged": true }, { "groupId": "9cff138f51602cd53de9e65e", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "in ut aliqua" }, { "roleId": "occaecat eu deserunt" }, { "roleId": "aliqua aliquip laborum" } ], "inactive": true, "_meta": { "created": "1976-10-25T03:16:58.579Z", "updated": "1975-11-04T19:06:42.192Z", "migrationVersion": -44516259 } } ], "iterations": [ "d85Eb274-ed60-F28f-c1Ec-fCe7C5D6Cd6a", "C90D45d6-fFBd-e1D2-CAa6-f7fbae7E1544" ], "x": -23576387.719412133, "y": -39678428.33856605, "gridCoordinate": { "x": 17678414.444747806, "y": -48490365.63813622 }, "name": "ullamco do", "location": "Adapter", "locationType": null, "app": "ut", "canvasName": "ea", "displayName": "qui dolore sint pariatur officia", "summary": "sit nisi", "description": "dolore nostrud dolore sit Excepteur", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0" }, { "type": "encryption", "pointer": "/F+wRJ6q5C/cH0/~0/~0/u/~0" }, { "type": "encryption", "pointer": "/N9vPvHN/~1/~1/~0/~0/IR+/ilnnPKJ/Doe4bHW0h/fb4/U/tF1Ktnu7/~1/hKd" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "deserunt laboris cupidatat nisi et", "highlightString": "ut incididunt enim" } ], "status": "paused", "previous": { "incomplete": [ "workflow_start", "workflow_start", "3a1f", "error_handler" ], "complete": [ "workflow_end", "error_handler", "workflow_start", "3a1f", "workflow_start" ], "error": [ "workflow_end", "workflow_start", "workflow_start" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "workflow_end", "type": "revert" }, { "task": "error_handler", "type": "revert" } ], "failure": [ { "task": "3a1f", "type": "standard" } ], "error": [ { "task": "error_handler", "type": "standard" } ] }, "serverId": "laborum nostrud cillum ut", "start_time": "2021-06-04T20:59:49.323Z", "end_time": -27983485.952009395, "finish_state": "failure", "retrySettings": { "state": [ "success", "failure", "success", "success", "success" ], "autoRetry": true, "limit": 70224372, "delay": 14555101, "count": 82772844, "finishedRetrying": true }, "type": "manual", "view": "sint ut" }, "groups": [ "default", "81766593e63b9ada67fc9411" ], "watchers": [ null, { "_id": "c05172f16e3a68aa7bb57c78", "provenance": "qui minim", "username": "id cupidatat in", "firstname": "ut minim ex", "memberOf": [ { "groupId": "2e75075773373ff5ba47e73f", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "proident amet reprehenderit ullamco" }, { "roleId": "aute in do proident enim" }, { "roleId": "irure" }, { "roleId": "laborum reprehenderit pariatur aliquip dolor" }, { "roleId": "commodo" } ], "inactive": false, "lastLogin": "1946-07-05T18:26:41.231Z", "_meta": { "created": "2006-11-22T09:42:17.063Z", "updated": "2005-02-07T10:49:08.007Z", "migrationVersion": 14080559 }, "email": "aute occaecat magna irure cillum" }, "22582a6d153566487507af5d", "c3b855533dc952c986a5ce4c" ], "metrics": { "start_time": 52504232.61113638, "progress": 0.8456590528448509, "end_time": 59827058.55725694, "user": { "_id": "f45297593f0a1fa006958c36", "provenance": "fugiat", "username": "Excepteur voluptate in", "firstname": "magna ullamco ut dolore", "memberOf": [ { "groupId": "f72865f57338fb870cdb6c6d", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "cillum sunt ipsum anim" }, { "roleId": "cupidatat sed laboris qui" } ], "inactive": true, "lastLogin": "2008-03-13T09:31:43.888Z", "_meta": { "created": "2017-01-20T16:02:36.237Z", "updated": "1979-08-13T06:18:42.347Z", "migrationVersion": 74340590 }, "email": "irure" }, "owner": { "_id": "816802f7f37fb134694a772e", "provenance": "ex est pariatur", "username": "veniam non et", "firstname": "deserunt quis", "memberOf": [ { "groupId": "f0db8352ba8eeffac1f95c88", "aaaManaged": false }, { "groupId": "00bd31b5e32a44688a670c80", "aaaManaged": true }, { "groupId": "69b50adc626bce59cfe888a5", "aaaManaged": true }, { "groupId": "ad5463393666a7f6fdddd53e", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "veniam irure id velit" }, { "roleId": "voluptate veniam consequat esse Lorem" }, { "roleId": "laboris dolore" } ], "inactive": true, "lastLogin": "2022-03-29T16:24:58.807Z", "_meta": { "created": "1966-07-28T19:18:27.736Z", "updated": "1988-04-04T07:18:40.727Z", "migrationVersion": -82541642 }, "email": "minim sit et" } } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }