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": "tempor" } }
{ "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": "146d4959cf99e13ed7c05d89", "font_size": -60214803, "type": "automation", "created": "1968-07-30T11:51:50.813Z", "last_updated": "1981-08-17T20:42:34.617Z", "createdVersion": "581.7588280387.15-9995.7.00", "lastUpdatedVersion": "513.4041588.8674739117", "canvasVersion": 1.5, "encodingVersion": 1, "migrationVersion": 40737605, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": -11917899.885197654, "sla": -18665206.242096037, "decorators": [ { "type": "encryption", "pointer": "/qjuS80h/~0/yJw4/~1/k7wC/PWM9iw/~0" }, { "type": "encryption", "pointer": "/Q0gF4w/~1/~0/VDx782VO/~0/EMhGkvrav/~0/LHcM/vsB09W21uJ" }, { "type": "encryption", "pointer": "/~0/Bq,S3UdaTe/MR5w-5/cIeR/~1/~1/~0/fkpMrN+h/~0/I6Yr4HPh" }, { "type": "encryption", "pointer": "/~0/bRY/~1/sjPaNm8Q/~1/~0/~1/Ch04y,Zyv/~0/~1/~1" } ], "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 }, { "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": "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": "workflow_start", "name": "myCoolDocumentName" } ], "ancestors": [ "32b6c8469c4f7d1cda837143", "0b5cb2d3ab75bed1cafe5398", "442f1f8c0b430e8c2a42979a", "224a3bc32131f3778f259438" ], "validationErrors": [ { "keyword": "proident", "dataPath": "aute magna fugiat anim", "schemaPath": "labore", "message": "ut ipsum nostrud magna ad" }, { "keyword": "aute irure ex eiusmod voluptate", "dataPath": "Excepteur", "schemaPath": "tempor nostrud eiusmod dolore laborum", "message": "dolor cupidatat in" }, { "keyword": "velit enim do cupidatat", "dataPath": "minim in Lorem", "schemaPath": "velit voluptate", "message": "ipsum elit consequat exercitation" }, { "keyword": "Ut id", "dataPath": "sed consequat", "schemaPath": "labore nisi", "message": "reprehenderit incididunt laboris Ut sed" } ], "created_by": "Pronghorn", "last_updated_by": "64a947a497994580ed5e7cc4", "tasks": { "workflow_start": { "x": -32375687.342345178, "y": -95405456.6503253, "gridCoordinate": { "x": 55196753.53185463, "y": -45134978.77111825 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 57496150.38670933, "finish_state": "success", "user": null }, "groups": [ { "_id": "f5373a5c0767f03527900134", "provenance": "pariatur", "name": "non", "description": "cillum exercitation", "memberOf": [ { "groupId": "cac5817fee537c08a947d18e", "aaaManaged": true }, { "groupId": "6f03dfef104a61752e80426c", "aaaManaged": true }, { "groupId": "f03fe0bee21a31855ab74773", "aaaManaged": false }, { "groupId": "ff96e5b72590037924bfc816", "aaaManaged": false }, { "groupId": "417a17a2ae49bc2f5e97e448", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "minim" } ], "inactive": false, "_meta": { "created": "1955-04-24T14:38:41.581Z", "updated": "1971-04-25T03:51:32.494Z", "migrationVersion": 26818665 } }, { "_id": "90d192bffd5ed40cd709a5ad", "provenance": "ad", "name": "elit eu et", "description": "ad tempor occaecat irure quis", "memberOf": [ { "groupId": "f8bf995cf77fab03b6ffa0cc", "aaaManaged": false }, { "groupId": "a30fd13d65ac7570b49390c6", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "velit laboris quis sint" }, { "roleId": "non in occaecat" } ], "inactive": false, "_meta": { "created": "1998-06-05T06:30:04.797Z", "updated": "2011-03-29T02:07:23.749Z", "migrationVersion": -90313678 } } ], "iterations": [ "2C8C93Eb-Ee0d-fCfE-Fe86-4fCAeDEcdEa7", "600bb5D4-9c57-20Ca-C5Aa-8CBcD4babA1c", "93B4cb13-B21e-7b32-9a90-Ad305372c1bB" ] }, "workflow_end": { "x": 33626022.75178844, "y": -58101943.33276164, "gridCoordinate": { "x": 55881523.56212059, "y": 5473162.301524907 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "error_handler", "e28f", "workflow_start" ], "complete": [ "error_handler" ], "error": [ "workflow_start" ] }, "metrics": { "end_time": 57254744.88852438, "run_time": 8812352.200116307 }, "groups": [ { "_id": "8f23e330b467e38a8c056d7a", "provenance": "sint laboris", "name": "pariatur nulla consectetur", "description": "cupidatat id", "memberOf": [ { "groupId": "ec8ae6cd9f3a8a821deb7ca3", "aaaManaged": true }, { "groupId": "f860de7b3bd6a00dbef4bc35", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "eiusmod magna laborum culpa" }, { "roleId": "sed" }, { "roleId": "ut mollit commodo eiusmod" } ], "inactive": false, "_meta": { "created": "2024-10-12T03:10:59.076Z", "updated": "1951-12-04T11:56:03.41Z", "migrationVersion": 17714228 } }, { "_id": "8ce22ec13977e83026a2fa27", "provenance": "eiusmod", "name": "magna sunt ut eu ipsum", "description": "non", "memberOf": [ { "groupId": "0a1d64dd88a712fa1dcba5ac", "aaaManaged": false }, { "groupId": "69ae16258dc353e0d53f689f", "aaaManaged": false }, { "groupId": "3a1e3a146ceb84e551a57a48", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "officia consectetur eiusmod labore" } ], "inactive": false, "_meta": { "created": "2004-02-04T16:40:18.757Z", "updated": "2009-04-20T03:07:08.261Z", "migrationVersion": 87124802 } }, "default", "cf35c8593782eadf9ae8006d", "default" ], "iterations": [ "3acE9d00-Aaea-CCF7-Cc65-120aC94FE05e", "5fC1c992-deDE-25D2-6cA2-22dEFf8F52a7", "8f6Fe5Eb-f229-7890-e4aa-0BD4e8db0EEB" ] }, "error_handler": { "x": -44426757.0900609, "y": 36150779.97804245, "gridCoordinate": { "x": -83720739.59895143, "y": -84663234.04453889 }, "name": "childJob", "location": "Broker", "locationType": "voluptate minim dolore", "app": "adipisicing amet", "canvasName": "ut non deserunt", "displayName": "enim ipsum sint amet irure", "summary": "laboris dolore irure", "description": "Excepteur", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/~0/K/CPbLTS.xMN/rI6op/CxR/~0/Y+n1/hoAux/T" }, { "type": "encryption", "pointer": "/Udz/Ex/~0/~0" }, { "type": "encryption", "pointer": "/~1/~1/VtGQ8BN0yX/bL/y3M6f8KA/JQHEmvLf2h/~1/c/~0/~1/~0" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "ut mollit dolor ullamco ipsum", "highlightString": "cupidatat esse incididunt cillum ad" }, { "key": "cupidatat consectetur aliquip dolore minim", "highlightString": "incididunt" }, { "key": "non esse quis", "highlightString": "ullamco" }, { "key": "ad", "highlightString": "ipsum" } ], "status": "incomplete", "previous": { "incomplete": [ "3a1f" ], "complete": [ "error_handler" ], "error": [ "error_handler", "workflow_end", "workflow_start", "workflow_start", "error_handler" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "e28f", "type": "revert" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "standard" } ], "error": [ { "task": "workflow_end", "type": "revert" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "standard" } ] }, "serverId": "nostrud fugiat laborum eu", "start_time": "1956-09-06T05:02:42.362Z", "end_time": -55541453.7461687, "finish_state": "success", "retrySettings": null, "type": "operation", "actor": "Pronghorn", "groups": [ "138c04b111c9e806fc63aa88", "default" ], "iterations": [ "79CFDdD0-9f9E-7A8b-80cB-aceBdf8bc0c6", "a3d5bDB1-9EdE-db4C-0334-042A6FfD6791" ] }, "01": { "actor": "$var.4812.dKUuR", "groups": [ "default", "default", "default", "21dff49184c18f2e14d8192f" ], "iterations": [ "6Baa7f69-148E-F2aD-efFe-313e0DD60963" ], "x": -17306078.40627508, "y": -41132432.370336995, "gridCoordinate": { "x": -16329188.091664284, "y": -47031701.75706397 }, "name": "ullamco", "location": "Application", "locationType": "cupidatat laborum", "app": "Excepteur", "canvasName": "est et consectetur irure ea", "displayName": "aliquip et", "summary": "sunt ut eu in quis", "description": "ex Lorem", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/O/XJ6K/~0/~1/cGhsLxx/~0" }, { "type": "encryption", "pointer": "/oPRf-2JVN2" }, { "type": "encryption", "pointer": "/~0/ge5oviR/KM0/~1" }, { "type": "encryption", "pointer": "/~0/~0/~0/~0/~0" }, { "type": "encryption", "pointer": "/~0/z/M/~1/~0/EG-S5GVtbgY/TR83pcmp" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "dolore qui nostrud", "highlightString": "dolore laborum eu" }, { "key": "adipisicing sed aliquip aliqua consectetur", "highlightString": "veniam" }, { "key": "Lorem anim", "highlightString": "qui" }, { "key": "proident laboris in voluptate", "highlightString": "sed in voluptate dolore" } ], "status": "incomplete", "previous": { "incomplete": [ "workflow_start", "workflow_start", "error_handler", "workflow_start" ], "complete": [ "workflow_start", "workflow_end", "3a1f", "e28f" ], "error": [ "workflow_start", "workflow_end" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "error_handler", "type": "revert" }, { "task": "3a1f", "type": "standard" }, { "task": "error_handler", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "standard" }, { "task": "error_handler", "type": "standard" }, { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "workflow_start", "type": "loop" }, { "task": "error_handler", "type": "standard" } ] }, "serverId": "dolore veniam", "start_time": "1976-06-29T08:56:58.75Z", "end_time": 63606076.20619497, "finish_state": "success", "retrySettings": null, "type": "automatic" } }, "parent": { "task": "Lorem amet", "iteration": -19234319.461527243, "element": 71521661.2667911 }, "errorHandler": { "actor": "job", "groups": [ "4798efdfcd3bcd2c8e6be8b9", { "_id": "af86b82f05f620bc5dbee2b4", "provenance": "Excepteur anim ad commodo", "name": "minim ad ut", "description": "ut cillum", "memberOf": [ { "groupId": "969f005a295ea2669bca86ed", "aaaManaged": false }, { "groupId": "6b73364abccaa617e8fda346", "aaaManaged": true }, { "groupId": "38ad886e2d5f185950ebbaa7", "aaaManaged": true }, { "groupId": "a88445ed29c4eaa1e1bca24c", "aaaManaged": false }, { "groupId": "979cea25a4a070af768e3024", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sunt adipisicing veniam laboris" }, { "roleId": "proident dolor laboris in" } ], "inactive": true, "_meta": { "created": "1947-07-08T08:15:05.358Z", "updated": "1997-08-25T11:48:26.167Z", "migrationVersion": 1965955 } }, { "_id": "670225b77d15dc78f144a322", "provenance": "ut", "name": "magna in exercitation irure", "description": "Duis in exercitation elit veniam", "memberOf": [ { "groupId": "d847cf5550dbdb96e046a7e2", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "eiusmod" }, { "roleId": "tempor ut laborum occaecat" }, { "roleId": "deserunt sunt ut" }, { "roleId": "quis" } ], "inactive": true, "_meta": { "created": "2011-05-29T06:26:01.403Z", "updated": "1980-10-21T14:23:43.15Z", "migrationVersion": -79966799 } } ], "iterations": [ "CF092Fa1-65B5-E43C-8894-8F35f29f98be", "788d1679-aA45-9FE5-FC25-f79da5ed4BD8", "1dFdeD53-973F-902D-CeC4-dbe0bb1392ac" ], "x": 24619047.61770235, "y": 20973073.291798323, "gridCoordinate": { "x": 21458591.19400564, "y": 40494753.56489834 }, "name": "aliqua", "location": "Adapter", "locationType": null, "app": "mollit dolore elit proident", "canvasName": "esse magna ipsum", "displayName": "aute veniam", "summary": "enim", "description": "proident consectetur veniam culpa", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "labore amet", "highlightString": "ex anim voluptate" }, { "key": "pariatur", "highlightString": "elit sit" }, { "key": "nostrud cupidatat esse laborum occaecat", "highlightString": "enim" }, { "key": "ut elit", "highlightString": "est Lorem non" }, { "key": "minim nulla", "highlightString": "Lorem quis" } ], "status": "canceled", "previous": { "incomplete": [ "error_handler", "3a1f", "workflow_start" ], "complete": [ "workflow_end", "3a1f", "workflow_start" ], "error": [ "workflow_start", "error_handler", "e28f", "workflow_start", "workflow_start" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "e28f", "type": "standard" }, { "task": "workflow_end", "type": "loop" } ], "failure": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "3a1f", "type": "loop" }, { "task": "workflow_end", "type": "loop" } ], "error": [ { "task": "workflow_end", "type": "revert" }, { "task": "e28f", "type": "loop" } ] }, "serverId": "officia amet elit sint cillum", "start_time": "1998-05-09T12:18:21.221Z", "end_time": 40944826.106750906, "finish_state": "success", "retrySettings": { "state": [ "error", "failure", "success", "success" ], "autoRetry": true, "limit": 54539562, "delay": 38822000, "count": 26314169, "finishedRetrying": false }, "type": "automatic" }, "groups": [ { "_id": "0d71c9894398feec89d8d426", "provenance": "irure", "name": "aliqua magna et est consectetur", "description": "proident est deserunt ea", "memberOf": [ { "groupId": "ca7b5fc54ae95b5d8cb40319", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ut sit sunt consequat ea" }, { "roleId": "occaecat culpa Duis minim proident" } ], "inactive": false, "_meta": { "created": "1992-01-13T03:32:03.632Z", "updated": "1974-12-27T01:58:37.61Z", "migrationVersion": 77434118 } }, { "_id": "3a4b3185a4936fc177b17c06", "provenance": "anim veniam nisi reprehenderit", "name": "ex anim", "description": "ullamco", "memberOf": [ { "groupId": "02480b45059ca2b30f2c906a", "aaaManaged": false }, { "groupId": "444a95e9bff67d4f1ae737cd", "aaaManaged": false }, { "groupId": "2a250b7429e73efbfdf2cac8", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "Duis officia dolore exercitation ut" }, { "roleId": "quis culpa proident sit" }, { "roleId": "quis" }, { "roleId": "adipisicing" } ], "inactive": false, "_meta": { "created": "2006-07-27T22:06:14.688Z", "updated": "1975-01-23T04:53:52.648Z", "migrationVersion": 28916591 } }, "default" ], "watchers": [ "62ff5eeea4d792c7cdf4f33d", "Pronghorn", null ], "metrics": { "start_time": -27098659.49281393, "progress": 0.5282677932026152, "end_time": 67699154.44586015, "user": { "_id": "a72304f76fa80ff7d3b7da83", "provenance": "sit id sed", "username": "laborum nulla", "firstname": "consequat nostrud et", "memberOf": [ { "groupId": "43419390e9f1046dc974fcd5", "aaaManaged": true }, { "groupId": "4c6dacb8045ab1dbdfd4bff6", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "qui voluptate incididunt fugiat nisi" }, { "roleId": "et enim non in" }, { "roleId": "in do irure magna" }, { "roleId": "ut aute" }, { "roleId": "Lorem qui ut" } ], "inactive": false, "lastLogin": "1998-04-09T14:25:55.704Z", "_meta": { "created": "2012-10-12T22:09:50.989Z", "updated": "1982-11-12T17:30:54.116Z", "migrationVersion": 87087570 }, "email": "dolore" }, "owner": null } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }