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": "in" } }
{ "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": "e37e13636b6c8d12d746c884", "font_size": -7817690, "type": "automation", "created": "1967-11-22T16:19:16.19Z", "last_updated": "1971-12-19T04:55:10.942Z", "createdVersion": "42987993281.00570820687.5768174233", "lastUpdatedVersion": "1364.35899463349.746684342-7405.308559.21547416.22248", "canvasVersion": 1.5, "encodingVersion": 1, "migrationVersion": 10443288, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": -8050584.238651708, "sla": -82086598.33156413, "decorators": [ { "type": "encryption", "pointer": "/~0/~0" }, { "type": "encryption", "pointer": "/~0/u/JinfJ/z7wZZ.FML/~1/~0/~0" }, { "type": "encryption", "pointer": "/qt.am4/Em6-/OWW.Pm8/wR/~1/uQ/vhtR/rtdTv" }, { "type": "encryption", "pointer": "/~0" } ], "status": "canceled", "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" } ], "ancestors": [ "e5f0af7430ecfeebb4ac2745", "1e1d52d879e419c0d1290943", "65ecb9fb1a445af468d29396", "b2193dcf2ebd3bff2db09ea8", "7310c849ba9e4943987538a8" ], "validationErrors": [ { "keyword": "tempor qui cillum", "instancePath": "nisi", "schemaPath": "proident velit aliqua reprehenderit", "message": "adipisicing" }, { "keyword": "amet cillum", "instancePath": "adipisicing pariatur", "schemaPath": "exercitation deserunt laborum ad", "message": "Duis tempor" } ], "created_by": "Pronghorn", "last_updated_by": null, "tasks": { "workflow_start": { "x": -25160053.40009296, "y": -99769985.35996948, "gridCoordinate": { "x": 45174689.359690964, "y": -30871799.371288672 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -44741156.966741525, "finish_state": "failure", "user": "49d0f0c825fd8ab2a3a67c39" }, "groups": [ "f551fff5302455eb2c596a1b" ], "iterations": [ "1244dD2F-b9ae-DC0a-beDB-5Db28989F3e5", "D7a04963-aBce-d2Cf-CCCD-bE6Edbdfcdc5" ] }, "workflow_end": { "x": -61706319.84428266, "y": -19687521.64914833, "gridCoordinate": { "x": 61106213.649205714, "y": -8940996.211136818 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "error_handler", "error_handler" ], "complete": [ "workflow_end", "workflow_start", "workflow_start", "workflow_start", "workflow_start" ], "error": [ "error_handler", "workflow_start", "workflow_end", "error_handler", "error_handler" ] }, "metrics": { "end_time": 1495480.7487566918, "run_time": -81583623.92118317 }, "groups": [ "35cacce76589acb7c4bad7db", { "_id": "9e1a77a9721d300523eca23a", "provenance": "magna velit consequat ex", "name": "sed", "description": "in qui nisi", "memberOf": [ { "groupId": "fae1e2c3e60a5f8f935bb887", "aaaManaged": true }, { "groupId": "89665f9b9ff2695d4be471a0", "aaaManaged": true }, { "groupId": "33bf461bf034f6803867b95b", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "dolor ea nostrud sit id" }, { "roleId": "tempor Excepteur enim ex" }, { "roleId": "ipsum pariatur" }, { "roleId": "mollit dolor reprehenderit" } ], "inactive": true, "_meta": { "created": "1993-07-17T03:15:13.245Z", "updated": "1948-03-09T23:54:57.48Z", "migrationVersion": -51758473 } }, "a7f7c0ae9a2a59491e63675f", "65bfde968855e7a4a2ad5107" ], "iterations": [ "E81F4F3f-5ed8-7cFe-dF9b-FEb4327cc93a" ] }, "error_handler": { "x": -89806838.84588365, "y": -6521083.851412699, "gridCoordinate": { "x": 98977733.31560811, "y": -79732012.20550594 }, "name": "childJob", "location": "Application", "locationType": null, "app": "laborum voluptate magna labore", "canvasName": "commodo fugiat laboris proident dolore", "displayName": "exercitation", "summary": "aliqua in nostrud", "description": "Lorem sed nisi non veniam", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/ISs..X,lq/~1/Wya8LiQ./~1/~1/~1/EgbQdo/~1/~0/e/EVr5-c" }, { "type": "encryption", "pointer": "/L9/PMPfzNFD5y./b/qRgylhhM//~0/~1/~1/~0/~0/~1" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "dolor irure pariatur", "highlightString": "reprehenderit do cupidatat labore" }, { "key": "in sit", "highlightString": "id dolore irure incididunt" }, { "key": "tempor mollit in", "highlightString": "et Ut dolor officia magna" } ], "status": "failure", "previous": { "incomplete": [ "workflow_start", "workflow_start" ], "complete": [ "workflow_start", "error_handler", "e28f" ], "error": [ "error_handler", "e28f", "workflow_end", "3a1f", "workflow_start" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "standard" }, { "task": "error_handler", "type": "revert" }, { "task": "e28f", "type": "standard" } ], "failure": [ { "task": "workflow_end", "type": "standard" }, { "task": "e28f", "type": "revert" } ], "error": [ { "task": "error_handler", "type": "revert" } ] }, "serverId": "ut", "start_time": "2004-01-15T11:42:17.261Z", "end_time": -1965098.7777217329, "finish_state": "failure", "retrySettings": { "state": [ "success", "error", "success", "failure", "success" ], "autoRetry": false, "limit": 56202810, "delay": 41653384, "count": 7438567, "finishedRetrying": true }, "type": "operation", "actor": "job", "groups": [ "0bdf703eac80b6f11da3cc8d", "7256df726e8f40e98280cd4a", "default", { "_id": "2cbd005392ded269dcd2ac8e", "provenance": "reprehenderit Lorem", "name": "non amet velit", "description": "ullamco fugiat consectetur labore cillum", "memberOf": [ { "groupId": "3e610531dc7d8978709b98e5", "aaaManaged": false }, { "groupId": "4ef3b71d82fde022374004e3", "aaaManaged": false }, { "groupId": "74077a0596c8e600d398c86e", "aaaManaged": false }, { "groupId": "482d1d10f8943b26ba82705f", "aaaManaged": true }, { "groupId": "fa4a2f8b9e288389de659aaf", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "aliqua veniam ea sit" } ], "inactive": true, "_meta": { "created": "1996-10-16T21:24:00.89Z", "updated": "1967-10-07T06:39:20.685Z", "migrationVersion": 6187681 } } ], "iterations": [ "77bcAFa4-8f5D-5f7f-bceb-F9Ce044baEeA" ] }, "f772": { "actor": "Pronghorn", "groups": [ "d62ade9e6dc9190eecc41266", "default", "b4d31a24dc5d3931e5da84d2", "aab7206ef533de4c2413520d", { "_id": "9e75c041fd5ed394a303e48b", "provenance": "dolor pariatur", "name": "aliqua do in dolore", "description": "eu esse", "memberOf": [ { "groupId": "d7262304480f2a4d39338762", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "velit consequat eiusmod" }, { "roleId": "exercitation" }, { "roleId": "enim voluptate ipsum" } ], "inactive": false, "_meta": { "created": "2005-12-12T20:10:20.724Z", "updated": "1977-05-07T06:48:03.229Z", "migrationVersion": 69549930 } } ], "iterations": [], "x": -85743925.55680847, "y": 3748927.8435570896, "gridCoordinate": { "x": -55408749.744553454, "y": 62511227.35343459 }, "name": "in", "location": "Adapter", "locationType": "ea", "app": "do enim id mollit", "canvasName": "amet nostrud aute deserunt voluptate", "displayName": "dolore", "summary": "aute laboris do fugiat amet", "description": "tempor", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/~1/W" }, { "type": "encryption", "pointer": "/Ck/~0/~0/oYT//L7/~0/QDkHH/~0" }, { "type": "encryption", "pointer": "/vi243d81-J9/Z/~1/lE/M/u/~0/~0/NCAKB/AKFmI5d2+" }, { "type": "encryption", "pointer": "/~1/akUowKmn/HN+rAp46/~0/BzlV/PEMD/OwArO98eIo/~1/fniFW+g" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "elit Lorem", "highlightString": "ullamco culpa" } ], "status": "canceled", "previous": { "incomplete": [ "error_handler", "3a1f", "e28f", "3a1f", "3a1f" ], "complete": [ "error_handler", "workflow_start" ], "error": [ "workflow_start", "3a1f", "workflow_end" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "error_handler", "type": "revert" }, { "task": "error_handler", "type": "revert" }, { "task": "workflow_end", "type": "standard" } ], "failure": [ { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "loop" }, { "task": "3a1f", "type": "standard" }, { "task": "workflow_start", "type": "standard" } ] }, "serverId": "ex nostrud", "start_time": "1959-05-30T03:15:28.839Z", "end_time": -31172883.02152343, "finish_state": "error", "retrySettings": null, "type": "manual", "view": "proident" } }, "parent": { "job": "elit dolore", "task": "elit exercitation esse consequat", "iteration": -27741218.35393499, "element": 56190570.56831357 }, "errorHandler": null, "groups": [ "226929b1c97b2388ce606151", { "_id": "43cb3efd52f10af8723742b1", "provenance": "irure eu officia", "name": "cupidatat", "description": "laboris enim", "memberOf": [ { "groupId": "41010c0a4f1b563eab6052c1", "aaaManaged": true }, { "groupId": "354be86df87142ce4bd0334e", "aaaManaged": true }, { "groupId": "c7b3f6477425ebb3c86b6e2e", "aaaManaged": true }, { "groupId": "b7d23358b81dbe65bdea20a6", "aaaManaged": false }, { "groupId": "a8e44911fcb843b3ecc574d0", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "sint deserunt non eu commodo" }, { "roleId": "ipsum sit ullamco occaecat labore" } ], "inactive": true, "_meta": { "created": "2017-11-21T22:54:57.211Z", "updated": "1958-11-19T21:29:26.599Z", "migrationVersion": 58218027 } }, { "_id": "add0f27c2e97be5e61afaf20", "provenance": "aute", "name": "irure non ea aliquip", "description": "dolor dolore sit reprehenderit", "memberOf": [ { "groupId": "5dd1faba0b6400a321d1557c", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "do ipsum" } ], "inactive": true, "_meta": { "created": "2003-06-06T02:31:37.602Z", "updated": "1953-08-23T19:15:30.955Z", "migrationVersion": 48468349 } }, "default" ], "watchers": [ { "_id": "ca0771483069324355b4bf94", "provenance": "consectetur", "username": "in", "firstname": "deserunt in", "memberOf": [ { "groupId": "16c8e83a8f64aee6bddff15c", "aaaManaged": true }, { "groupId": "3fb1f8ec5e46d15787a01e75", "aaaManaged": true }, { "groupId": "332fb2b9f42ed9efea2b18ca", "aaaManaged": false }, { "groupId": "c0ccfe51fb2a541c0cd68ed4", "aaaManaged": false }, { "groupId": "d38dc5651f9050f672b89e2d", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "laboris officia nisi" }, { "roleId": "Excepteur aute" }, { "roleId": "ut ipsum eu laboris veniam" }, { "roleId": "sint nulla non sed" }, { "roleId": "veniam aliqua Duis pariatur et" } ], "inactive": false, "lastLogin": "1959-06-16T00:05:27.78Z", "_meta": { "created": "1992-04-26T16:52:42.78Z", "updated": "1954-03-15T10:46:05.526Z", "migrationVersion": 68794009 }, "email": "dolore cupidatat consequat id" }, "05b3b9fbea71c6628e77075b", "9c7f3bf716e77713be4dc768" ], "metrics": { "start_time": 11213720.303462565, "progress": 0.12295154679012921, "end_time": -84957672.5234122, "user": null, "owner": { "_id": "bfac9c72fa288418c0cc167e", "provenance": "esse sed ex anim Duis", "username": "commodo cillum velit", "firstname": "cillum proident do", "memberOf": [ { "groupId": "e6e7cdd87bdbe6c935cf0c5d", "aaaManaged": false }, { "groupId": "4cf3d7839b7645acfe2de946", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "magna est et" }, { "roleId": "dolor ullamco sed consequat aute" }, { "roleId": "occaecat" } ], "inactive": true, "lastLogin": "2000-06-16T09:27:35.829Z", "_meta": { "created": "1973-01-30T03:50:59.777Z", "updated": "2019-06-26T18:54:36.062Z", "migrationVersion": -28881337 }, "email": "eu Ut ad" } } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }