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": "cupidatat Excepteur" } }
{ "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": "390017f24d54e30983f5dd26", "font_size": 23994619, "type": "resource:action", "created": "2005-04-29T16:02:40.029Z", "last_updated": "2002-07-26T17:44:22.319Z", "createdVersion": "4262.73620915900.90389304-0768.8062.1853477079.1851613", "lastUpdatedVersion": "1371.0740.07652814981", "canvasVersion": 1.5, "encodingVersion": 1, "migrationVersion": -48939870, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 85450638.12833512, "sla": -75833196.07321912, "decorators": [ { "type": "encryption", "pointer": "/jaYaAo/~0/j/UK9bJIXkS/s9/Co2e/~1/~1/up/+evkm7I/~0" }, { "type": "encryption", "pointer": "/~1/H/Q-eXrOuGB/~0/t.jSAyYc/rz/~1/~0/~0/L" }, { "type": "encryption", "pointer": "/~0/~1/R3TpY.//I03Tobu.d46/eF7S/cAZ6/~1/~0/~0/ehkZ00/~0/~0" }, { "type": "encryption", "pointer": "/~1/lAfcY/lvr+Sy-59/wqx7mG/~0" } ], "status": "error", "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_start", "name": "myCoolDocumentName" }, { "task": "3a1f", "name": "myCoolDocumentName" }, { "task": "error_handler", "name": "myCoolDocumentName", "message": "culpa" }, { "task": "3a1f", "name": "myCoolDocumentName" } ], "ancestors": null, "validationErrors": [ { "keyword": "non enim voluptate anim ipsum", "dataPath": "occaecat", "schemaPath": "eiusmod laboris Excepteur do Ut", "message": "ullamco pariatur labore" }, { "keyword": "nostrud id exercitation amet", "dataPath": "adipisicing", "schemaPath": "amet reprehenderit labore magna cupidatat", "message": "non reprehenderit" }, { "keyword": "et Excepteur id labore Ut", "dataPath": "dolore", "schemaPath": "nisi tempor fugiat ut cillum", "message": "nostrud officia aliqua" }, { "keyword": "dolore tempor sunt", "dataPath": "ut", "schemaPath": "do nulla", "message": "consectetur amet ipsum tempor" }, { "keyword": "consequat consectetur dolor", "dataPath": "incididunt", "schemaPath": "aliqua", "message": "sit sed officia" } ], "created_by": { "_id": "56dfed72472ddd0480010956", "provenance": "nisi", "username": "ex", "firstname": "labore quis incididunt", "memberOf": [ { "groupId": "2812de2c61c809e690674130", "aaaManaged": false }, { "groupId": "52afc6497dc01796431fc5a7", "aaaManaged": true }, { "groupId": "d322a2d0c56f39e5caacac71", "aaaManaged": false }, { "groupId": "9d542c9192d0cd75261db405", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ullamco" }, { "roleId": "et Duis Lorem incididunt" }, { "roleId": "occaecat sint nostrud" }, { "roleId": "eiusmod" }, { "roleId": "velit culpa aliquip" } ], "inactive": true, "lastLogin": "1981-09-07T12:05:33.348Z", "_meta": { "created": "2022-02-08T01:04:16.866Z", "updated": "1976-04-13T10:25:38.595Z", "migrationVersion": 52345841 }, "email": "culpa irure" }, "last_updated_by": { "_id": "dfa31373140df3c9f0946248", "provenance": "aute magna ullamco", "username": "veniam est", "firstname": "cillum reprehenderit", "memberOf": [ { "groupId": "48268164d778559f06ea02e2", "aaaManaged": true }, { "groupId": "9b7e317329342b9c62924d8b", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "dolor" }, { "roleId": "tempor culpa pariatur eiusmod ex" } ], "inactive": false, "lastLogin": "1953-01-19T19:19:37.684Z", "_meta": { "created": "2021-08-16T14:17:43.885Z", "updated": "2022-06-14T09:16:59.76Z", "migrationVersion": 49696141 }, "email": "officia do enim Lorem dolore" }, "tasks": { "workflow_start": { "x": 98525479.03749457, "y": -50028512.056819, "gridCoordinate": { "x": 60052932.86075801, "y": -80693859.4700588 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 71186469.86252344, "finish_state": "failure", "user": "Pronghorn" }, "groups": [ "default", "default" ], "iterations": [] }, "workflow_end": { "x": 94764242.00131425, "y": -98366315.161829, "gridCoordinate": { "x": -79309374.92039281, "y": 22483081.10393253 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "error_handler", "error_handler", "e28f", "workflow_start" ], "complete": [ "workflow_end" ], "error": [ "3a1f", "workflow_end" ] }, "metrics": { "end_time": 77247109.42730093, "run_time": 82700016.77055863 }, "groups": [ "default" ], "iterations": [ "9f1DA6ab-3Cbf-F70D-Aa3b-CbaCa2Ffb9eF", "7cDAFb43-61b8-DB1D-4843-Ba97c7cbCd4B" ] }, "error_handler": { "x": -17540645.674810752, "y": 42856803.57160121, "gridCoordinate": { "x": -96663381.25968386, "y": 67666967.74347433 }, "name": "childJob", "location": "Adapter", "locationType": null, "app": "commodo amet", "canvasName": "sit deserunt pariatur", "displayName": "ut", "summary": "cupidatat", "description": "magna adipisicing culpa", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/b./z3,/IRDIQ.-B6b/~0/orCSCC/u-QR2bF69w/FrwwM/rUMONYszWah/TvWFkhDV-kX/~1" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "ut ex do sit tempor", "highlightString": "sed sunt" }, { "key": "velit aliquip sed quis", "highlightString": "proident eiusmod sint reprehenderit" }, { "key": "sunt aliquip aute", "highlightString": "dolor quis nostrud consequat do" }, { "key": "id in esse", "highlightString": "consequat" } ], "status": "incomplete", "previous": { "incomplete": [ "3a1f", "3a1f", "workflow_end", "3a1f", "workflow_end" ], "complete": [ "workflow_start", "e28f", "3a1f", "error_handler", "3a1f" ], "error": [ "workflow_start", "workflow_start", "error_handler", "workflow_start" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "error_handler", "type": "loop" }, { "task": "3a1f", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "revert" }, { "task": "e28f", "type": "standard" }, { "task": "e28f", "type": "loop" }, { "task": "workflow_end", "type": "loop" }, { "task": "e28f", "type": "standard" } ], "error": [ { "task": "error_handler", "type": "standard" }, { "task": "workflow_end", "type": "revert" }, { "task": "workflow_end", "type": "revert" }, { "task": "3a1f", "type": "revert" } ] }, "serverId": "proident sunt", "start_time": "1976-07-20T10:34:41.222Z", "end_time": -39892266.697169185, "finish_state": "failure", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ "67203abb88744d91ee04350c", "default", "b73a49a84419e281f9473fc4", "a17a3d810859dce8dcde59dc" ], "iterations": [ "d10fc999-eCDF-78BA-7994-f64eFcC1Ca68" ] }, "7d4": { "actor": { "_id": "a46a788911f4f2a71c95ac7d", "provenance": "aliquip minim ipsum", "username": "sit Lorem deserunt esse Excepteur", "firstname": "Lorem irure sed est amet", "memberOf": [ { "groupId": "ae30903dce7ab55b8989f8de", "aaaManaged": false }, { "groupId": "ca87c8c55b971500c6f1707b", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "dolore elit cupidatat" } ], "inactive": false, "lastLogin": "1952-12-23T08:25:20.688Z", "_meta": { "created": "1971-04-08T01:49:30.813Z", "updated": "2004-05-02T08:06:24.965Z", "migrationVersion": -8644387 }, "email": "Excepteur dolor ut" }, "groups": [ { "_id": "a4c2a26194196709d9d5e626", "provenance": "ipsum quis incididunt", "name": "amet", "description": "labore", "memberOf": [ { "groupId": "db7f603e8e9512ca1b6c01cd", "aaaManaged": true }, { "groupId": "ab0f2652d7df0a1a5b5196cd", "aaaManaged": true }, { "groupId": "a001a3015bd4fb458e4abc29", "aaaManaged": true }, { "groupId": "dcd11003ee849fcf09d36690", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "magna pariatur velit occaecat" } ], "inactive": true, "_meta": { "created": "1988-04-06T09:15:41.802Z", "updated": "1996-06-11T02:05:11.25Z", "migrationVersion": -62666613 } }, "default", "default", { "_id": "205e3678e0e0e68ee63adc41", "provenance": "in ipsum cillum labore qui", "name": "in", "description": "et esse adipisicing eiusmod occaecat", "memberOf": [ { "groupId": "094204b34fa612d041566d35", "aaaManaged": false }, { "groupId": "fae08d3b0b212bd1e519fbdc", "aaaManaged": false }, { "groupId": "193cb5e77c9a0bf5b43748e6", "aaaManaged": false }, { "groupId": "25854f3f399fa77564ace78a", "aaaManaged": false }, { "groupId": "552df09471963634758fcaa6", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "dolore nostrud" }, { "roleId": "ut ut ad ex consequat" }, { "roleId": "nostrud Lorem deserunt" } ], "inactive": true, "_meta": { "created": "1985-06-08T20:15:35.145Z", "updated": "2000-11-20T08:26:03.223Z", "migrationVersion": -11247042 } }, "3ab2992d0eff1034fd5828ac" ], "iterations": [ "1f9E1D9c-CCBc-9aaD-c1ef-C2eD0Ee644a4" ], "x": 9327404.153903589, "y": 50197921.75589767, "gridCoordinate": { "x": -88576037.95667472, "y": -27808063.300730586 }, "name": "pending", "summary": "id do laboris cupidatat", "description": "sint eiusmod" } }, "parent": { "task": "ut occaecat dolore", "iteration": 65273396.7906408, "element": -60751623.08337329 }, "errorHandler": null, "groups": [ { "_id": "ab7252361e576b00445f3705", "provenance": "occaecat laboris ad sint mollit", "name": "qui cupidatat", "description": "consectetur et", "memberOf": [ { "groupId": "fd47908d92c6af192f497473", "aaaManaged": false }, { "groupId": "792450b494c7b75334ef34dc", "aaaManaged": true }, { "groupId": "5f8615255537087702ba491b", "aaaManaged": false }, { "groupId": "d0d38108a5267b4f45ce5d76", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ex" }, { "roleId": "in in consectetur aliquip" }, { "roleId": "aliqua" } ], "inactive": true, "_meta": { "created": "1962-12-29T17:55:05.58Z", "updated": "1992-01-02T06:31:12.562Z", "migrationVersion": -61918390 } }, "5660807c7c6a6eaed83bc418", "default", "772a0171dddc934d7431e927" ], "watchers": [ null, "Pronghorn" ], "metrics": { "start_time": 17015011.33997549, "progress": 0.5337246509320883, "end_time": -12201607.058485702, "user": "Pronghorn", "owner": null } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }