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": "consequat commodo sint ea sunt" } }
{ "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": "504962f50fb651fa2874c24e", "font_size": -25397159, "type": "automation", "created": "2002-01-03T19:53:26.496Z", "last_updated": "1983-11-16T21:46:55.468Z", "createdVersion": "514.2792.4666-2253.977.7663.2411", "lastUpdatedVersion": "19912232712.2.9499-1265.705385357.98", "canvasVersion": 1, "encodingVersion": 1, "migrationVersion": -78999289, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 16299946.640086427, "sla": -39125322.052029036, "decorators": [ { "type": "encryption", "pointer": "/~1/j3/~0/a5caH/S3Sksa/z,HYtSVlw/~1" }, { "type": "encryption", "pointer": "/vB,8Ci.iO,/~1" }, { "type": "encryption", "pointer": "/~1/G-4c/GNeJF/E+Jd05BT/h.1IxOBu2p/~1/rhc5X7,3,/g.Irs/~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": "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 } ], "warnings": [ { "task": "workflow_start", "name": "myCoolDocumentName", "message": "in" }, { "task": "error_handler", "name": "myCoolDocumentName", "message": "sit mollit labore" } ], "ancestors": null, "validationErrors": [ { "keyword": "ipsum", "dataPath": "Excepteur nostrud in eiusmod quis", "schemaPath": "sed labore veniam nostrud laboris", "message": "officia Excepteur quis" }, { "keyword": "in do eu", "dataPath": "enim cillum Excepteur", "schemaPath": "adipisicing", "message": "elit Excepteur ex adipisicing ad" } ], "created_by": null, "last_updated_by": "Pronghorn", "tasks": { "workflow_start": { "x": 50192388.87017843, "y": -35680000.09541681, "gridCoordinate": { "x": 24845574.83463016, "y": 55764637.49255803 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -10800141.168380767, "finish_state": "success", "user": "8a62cda95129a56c459de2fd" }, "groups": [ "default", "e3f6cb20e1d4455fea18faa0", "default" ], "iterations": [ "736C2aCB-A370-9cb9-D0B0-cdEdFEa72D3b", "D567491A-9Bdb-D78E-33A9-eE8EBaa64225", "CBd26097-03A6-dB83-37CD-7F94A0B5A6C6" ] }, "workflow_end": { "x": -92307920.41244413, "y": -38166440.48530593, "gridCoordinate": { "x": 99585975.00066552, "y": 97697053.74604177 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "e28f", "3a1f", "e28f" ], "complete": [ "workflow_start", "error_handler" ], "error": [ "error_handler", "workflow_end" ] }, "metrics": { "end_time": 66898561.85735029, "run_time": -60036563.97856649 }, "groups": [ { "_id": "83e1d810f62f2669751ede75", "provenance": "consequat", "name": "pariatur consequat proident ut", "description": "ea proident", "memberOf": [ { "groupId": "694b46a238c7df480d881202", "aaaManaged": true }, { "groupId": "847ad844942f755e527674a2", "aaaManaged": true }, { "groupId": "bc868afeaae6172227b2b4d7", "aaaManaged": false }, { "groupId": "60fbc3951de92b1a3020c71f", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "qui officia sunt ea" }, { "roleId": "qui" }, { "roleId": "velit tempor" }, { "roleId": "adipisicing reprehenderit anim" }, { "roleId": "do culpa et cillum elit" } ], "inactive": false, "_meta": { "created": "1961-01-08T21:00:11.25Z", "updated": "1948-07-02T21:41:50.803Z", "migrationVersion": 96619029 } }, "30501dac0d299fa29230c74a", { "_id": "321b8a43c3a0ee56bd880ab1", "provenance": "velit", "name": "ex culpa magna eu", "description": "et", "memberOf": [ { "groupId": "2d0415da0076a63826000254", "aaaManaged": false }, { "groupId": "f35a6c14cdb4a01ef9ef7808", "aaaManaged": false }, { "groupId": "4616567e2789084783b8964e", "aaaManaged": true }, { "groupId": "14eb95d2939ee907a811ed3c", "aaaManaged": true }, { "groupId": "8fd0fd166856aa4068dfe482", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "minim dolor consequat" }, { "roleId": "do" } ], "inactive": true, "_meta": { "created": "1972-10-19T13:37:52.888Z", "updated": "1966-10-30T12:47:55.822Z", "migrationVersion": 11208668 } }, "default", "4f656e19079a1abb3f5a37bc" ], "iterations": [ "65bf0C6a-8f01-251d-8837-ced528663CAD", "0b4Ab6FD-F46D-DCec-cF39-4b26aBD3FA1E" ] }, "error_handler": { "x": -31376625.630027726, "y": 28608250.380104348, "gridCoordinate": { "x": -71900970.37672754, "y": 70704390.88658574 }, "name": "childJob", "location": "Application", "locationType": null, "app": "in quis", "canvasName": "ad", "displayName": "esse minim labore", "summary": "tempor ut", "description": "minim fugiat sint ad", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/I/gp/S4/hxVmzK-/~0" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "consequat sed aliqua eu", "highlightString": "dolor tempor irure" }, { "key": "ad do", "highlightString": "sunt Lorem ex irure ea" }, { "key": "nostrud nisi sed ex reprehenderit", "highlightString": "aliquip qui voluptate in commodo" } ], "status": "error", "previous": { "incomplete": [ "workflow_end", "workflow_start", "workflow_end", "error_handler" ], "complete": [ "3a1f", "workflow_end", "e28f" ], "error": [ "workflow_start", "workflow_end" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "e28f", "type": "standard" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "workflow_end", "type": "standard" }, { "task": "workflow_end", "type": "standard" }, { "task": "error_handler", "type": "standard" } ], "error": [ { "task": "error_handler", "type": "revert" } ] }, "serverId": "aute sunt", "start_time": "1981-08-23T07:18:53.16Z", "end_time": -59964677.65988327, "finish_state": "error", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ { "_id": "4dbb6bf0495adcb8c80788e3", "provenance": "sunt", "name": "consectetur Duis", "description": "velit dolor nisi labore", "memberOf": [ { "groupId": "85741d3d46929102c37ccc41", "aaaManaged": false }, { "groupId": "2ecd7495fff52ec5fce32b1d", "aaaManaged": true }, { "groupId": "796ddb4938a9176c514a8cc9", "aaaManaged": false }, { "groupId": "025ed695c598af475285e70d", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "veniam" }, { "roleId": "incididunt sed" }, { "roleId": "Excepteur dolore amet ipsum" }, { "roleId": "ut consequat dolore incididunt deserunt" } ], "inactive": false, "_meta": { "created": "1983-11-08T04:32:46.047Z", "updated": "2007-08-17T12:12:22.085Z", "migrationVersion": -29501512 } } ], "iterations": [ "92580265-CE8E-b165-6bd4-2F3eBD06c95A" ] }, "3d": { "actor": "Pronghorn", "groups": [ "0cc43e74b080f1b953997a99", { "_id": "49320f7160d391dd1fc1771b", "provenance": "ad laborum reprehenderit do veniam", "name": "nostrud consectetur", "description": "veniam sed nulla", "memberOf": [ { "groupId": "6bc062997538699db0d4665c", "aaaManaged": false }, { "groupId": "81ac17e9b4ff8360749a8555", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ea est ad" }, { "roleId": "sunt" }, { "roleId": "nisi aute irure" }, { "roleId": "consequat non veniam in" }, { "roleId": "consequat in" } ], "inactive": false, "_meta": { "created": "1976-05-17T13:16:07.254Z", "updated": "2016-03-04T03:08:16.178Z", "migrationVersion": -74762040 } }, "default" ], "iterations": [], "x": 75595686.3381261, "y": -98879924.02654247, "gridCoordinate": { "x": -77700480.22189373, "y": -77238331.34142394 }, "name": "culpa id incididunt", "location": "Adapter", "locationType": null, "app": "pariatur exercitation velit aliquip", "canvasName": "cupidatat anim ex esse ut", "displayName": "aliquip cupidatat", "summary": "cupidatat anim officia culpa commodo", "description": "esse qui magna non Excepteur", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/YmI71z7VS/sKFH/~0/~0/p4xXacmke+/~1/~1/HMDH1FQsEG/~0/~1" }, { "type": "encryption", "pointer": "/~0/~0/~1/Rm/~1/PlNDR2-E/awafFA/JPbXByJ.wbG" }, { "type": "encryption", "pointer": "/~0/R364tp/~1/Kos/~1/buLI1r/~0/CTeVQfS/fs/q4VWve7/jYTyx,8" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "dolor sunt", "highlightString": "ad dolore nostrud" }, { "key": "Duis", "highlightString": "in dolor ipsum est veniam" } ], "status": "canceled", "previous": { "incomplete": [ "workflow_start", "workflow_start", "workflow_end", "workflow_start", "workflow_end" ], "complete": [ "workflow_start" ], "error": [ "error_handler", "e28f" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_end", "type": "revert" } ], "failure": [ { "task": "error_handler", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "loop" }, { "task": "3a1f", "type": "standard" } ], "error": [ { "task": "3a1f", "type": "revert" }, { "task": "e28f", "type": "standard" } ] }, "serverId": "cillum commodo do", "start_time": "1998-11-13T18:56:51.133Z", "end_time": 96986513.14493158, "finish_state": "failure", "retrySettings": null, "type": "automatic" } }, "parent": { "task": "Excepteur veniam anim", "iteration": -40797016.784917384, "element": 32576185.1063966 }, "errorHandler": { "actor": "Pronghorn", "groups": [ { "_id": "629c537bfa6894fe6caa25cd", "provenance": "Lorem ut sit tempor occaecat", "name": "dolor Excepteur", "description": "id reprehenderit", "memberOf": [ { "groupId": "3e8f8f9aa01eb04fd2493256", "aaaManaged": false }, { "groupId": "4b2376dedb27f7e150dc1347", "aaaManaged": false }, { "groupId": "08b379be592b7ab4c27bc32c", "aaaManaged": true }, { "groupId": "8208ae90dc0513142ea25903", "aaaManaged": true }, { "groupId": "6df0763ac65428655b65cf5b", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "aliquip" }, { "roleId": "velit id" } ], "inactive": true, "_meta": { "created": "1970-06-02T02:32:50.861Z", "updated": "1985-05-30T03:15:38.596Z", "migrationVersion": 16253368 } }, "c1ab96fa0d476d220c6bc1f3", { "_id": "92a17226ec20384d884269cf", "provenance": "exercitation ad sit", "name": "tempor", "description": "Ut", "memberOf": [ { "groupId": "88fe39c34e39dd9f3682deea", "aaaManaged": false }, { "groupId": "de35bb9250c62a373aef6836", "aaaManaged": false }, { "groupId": "b241a27eceaaf80632635c19", "aaaManaged": true }, { "groupId": "9e946870973e30f6e8f4a793", "aaaManaged": true }, { "groupId": "5a63b3e5df1f7db20ad59ce6", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "occaecat culpa enim" } ], "inactive": false, "_meta": { "created": "1952-01-12T11:57:02.566Z", "updated": "1976-03-11T20:49:17.323Z", "migrationVersion": 4951190 } }, "374179c04c57e0a2ee384d98" ], "iterations": [ "edebE820-4283-6ae4-cAe1-c5ca0ee1D0cd" ], "x": -42258542.618677095, "y": 25916634.5217849, "gridCoordinate": { "x": 31600864.88731411, "y": 53445434.382005274 }, "name": "qui Duis culpa officia", "location": "Application", "locationType": "est", "app": "esse", "canvasName": "laboris", "displayName": "dolore", "summary": "in ut incididunt eu", "description": "quis", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/EfH/~1/~1" }, { "type": "encryption", "pointer": "/~1/~1/~1/~1/~0/~0/mL2/m+vJ/~0" }, { "type": "encryption", "pointer": "/~0/~0/ttq.cmO" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "sunt consequat magna aliquip", "highlightString": "veniam" } ], "status": "canceled", "previous": { "incomplete": [ "e28f", "workflow_start", "workflow_start", "e28f" ], "complete": [ "e28f", "workflow_start" ], "error": [ "workflow_start", "workflow_start", "3a1f", "workflow_start" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_end", "type": "revert" } ], "failure": [ { "task": "3a1f", "type": "revert" }, { "task": "workflow_end", "type": "revert" }, { "task": "error_handler", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "revert" }, { "task": "e28f", "type": "standard" }, { "task": "3a1f", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "loop" } ] }, "serverId": "labore dolore", "start_time": "2016-02-19T12:11:23.851Z", "end_time": 64046491.22035301, "finish_state": "error", "retrySettings": { "state": [ "success", "failure", "failure", "error", "success" ], "autoRetry": false, "limit": 61549518, "delay": 12902075, "count": 4801841, "finishedRetrying": false }, "type": "automatic" }, "groups": [ "default", "62c9d87af179db135072d84f", "default", "04982f3409463f676fc64546", "default" ], "watchers": [ "82514323d97142c2e8406e43", null, null, "a5077f983f3ff7d032ec62ab", "960b9836903cee28e600bd96" ], "metrics": { "start_time": 65532330.05981833, "progress": 0.4443632547047831, "end_time": -63578282.59985743, "user": null, "owner": { "_id": "9484a8f418a99a65ebabe3d0", "provenance": "ipsum fugiat ex", "username": "quis", "firstname": "adipisicing", "memberOf": [ { "groupId": "c45df706b92812822453dc3e", "aaaManaged": false }, { "groupId": "d6a92b63dad976b7e8bcae10", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "sunt eiusmod nisi" }, { "roleId": "fugiat enim quis dolor" }, { "roleId": "magna ipsum deserunt nulla Excepteur" }, { "roleId": "ut fugiat" } ], "inactive": true, "lastLogin": "1952-02-26T14:36:06.746Z", "_meta": { "created": "1992-05-16T15:54:00.719Z", "updated": "1975-02-15T03:44:53.774Z", "migrationVersion": -46690522 }, "email": "in elit consectetur" } } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }