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": "labore adipisicing" } }
{ "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": "91be8705446586ce3446831a", "font_size": -78604874, "type": "automation", "created": "1974-01-31T07:26:37.232Z", "last_updated": "1951-11-14T00:13:30.466Z", "createdVersion": "04.9353459.2071552-6446.68.6636.55608106106", "lastUpdatedVersion": "890654.730979641.8583", "canvasVersion": 1, "encodingVersion": 1, "migrationVersion": 82846746, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 25367828.845689163, "sla": -36739908.761378534, "decorators": [ { "type": "encryption", "pointer": "/tJ/~0/wj1zxJ4/VSQZEwLF/~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 } ], "warnings": [ { "task": "workflow_start", "name": "myCoolDocumentName", "message": "anim" }, { "task": "workflow_end", "name": "myCoolDocumentName", "message": "eiusmod pariatur non" }, { "task": "error_handler", "name": "myCoolDocumentName" } ], "ancestors": null, "validationErrors": [ { "keyword": "Ut Excepteur quis", "dataPath": "magna", "schemaPath": "cillum", "message": "labore" }, { "keyword": "commodo occaecat", "dataPath": "Lorem quis aliquip id", "schemaPath": "in sed dolor proident", "message": "non ullamco culpa" }, { "keyword": "dolor", "dataPath": "veniam", "schemaPath": "non cupidatat adipisicing", "message": "dolore dolor dolor aute exercitation" } ], "created_by": { "_id": "413b6d2aca5303115aea7693", "provenance": "minim pariatur Ut qui tempor", "username": "quis amet", "firstname": "enim officia deserunt nulla exercitation", "memberOf": [ { "groupId": "7023247d64714b824443a444", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "proident veniam ex consequat ut" }, { "roleId": "veniam ea Ut" }, { "roleId": "sed cillum" }, { "roleId": "ut enim" }, { "roleId": "dolor do velit ad dolore" } ], "inactive": false, "lastLogin": "1985-01-30T13:20:40.28Z", "_meta": { "created": "1962-09-15T13:20:54.981Z", "updated": "1976-08-07T08:10:47.364Z", "migrationVersion": 95223553 }, "email": "proident ut Excepteur officia irure" }, "last_updated_by": "Pronghorn", "tasks": { "7": { "actor": "$var.55.CXwI40r", "groups": [ { "_id": "a0f52282967812725163df25", "provenance": "irure incididunt ex", "name": "quis proident aliqua ex veniam", "description": "aliquip", "memberOf": [ { "groupId": "032f81544178137e157e18d7", "aaaManaged": true }, { "groupId": "6883b429d88b32381594245e", "aaaManaged": false }, { "groupId": "7f2ceb06012e7c0d466bfbd6", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "officia sint ex elit" } ], "inactive": true, "_meta": { "created": "2022-11-28T11:45:46.469Z", "updated": "1949-05-24T12:54:54.236Z", "migrationVersion": 17959080 } }, "default", { "_id": "b1a162112cc7a6138ca06fbe", "provenance": "aliquip laboris fugiat ea", "name": "exercitation nisi", "description": "magna", "memberOf": [ { "groupId": "e774e5aa1d695737830afa98", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "fugiat qui" }, { "roleId": "aliquip ad consectetur magna" }, { "roleId": "in fugiat id" } ], "inactive": false, "_meta": { "created": "1952-01-13T09:59:10.922Z", "updated": "2018-07-17T14:23:34.267Z", "migrationVersion": -15173970 } }, "default" ], "iterations": [ "0d1EcfAf-e842-f1d5-cB8F-7c270Fa1fE0A" ], "x": -52455424.45820082, "y": 20813020.202556625, "gridCoordinate": { "x": 15663687.205829963, "y": 13671850.430486515 }, "name": "Excepteur ullamco laboris enim", "location": "Application", "locationType": null, "app": "dolore", "canvasName": "pariatur aliquip commodo dolor amet", "displayName": "aliqua eu id veniam in", "summary": "pariatur dolore", "description": "occaecat ad", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/M/./FS/BtEb9ZSv" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "elit irure eiusmod ex", "highlightString": "laboris sint laborum pariatur nisi" }, { "key": "in tempor exercitation reprehenderit ullamco", "highlightString": "elit nisi" } ], "status": "failure", "previous": { "incomplete": [ "3a1f" ], "complete": [ "error_handler", "workflow_start", "error_handler" ], "error": [ "e28f", "e28f", "workflow_end" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "workflow_end", "type": "loop" }, { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "workflow_end", "type": "revert" } ] }, "serverId": "sed dolor", "start_time": "1954-07-28T08:35:02.249Z", "end_time": -94194296.10419741, "finish_state": "success", "retrySettings": null, "type": "automatic" }, "workflow_start": { "x": -92373960.65783927, "y": 52377604.690627724, "gridCoordinate": { "x": 63038100.16120294, "y": -74669972.5763 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -85725291.03117149, "finish_state": "success", "user": { "_id": "ca07321bf5ec98864c0d04c9", "provenance": "commodo laboris Ut", "username": "magna do esse", "firstname": "labore consequat culpa id", "memberOf": [ { "groupId": "0e9c7af737866f2d785f176f", "aaaManaged": true }, { "groupId": "869cf2de362f5834fb03074d", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "sit consequat est tempor voluptate" }, { "roleId": "velit tempor proident ea amet" } ], "inactive": true, "lastLogin": "1974-11-22T13:15:26.486Z", "_meta": { "created": "1977-08-23T17:34:29.309Z", "updated": "2007-12-18T17:15:21.525Z", "migrationVersion": -42236021 }, "email": "culpa reprehenderit elit proident" } }, "groups": [ "6f40023441da1f1fd78c08ff", "ad57e1bc8d23c4fd6fc93a6c" ], "iterations": [ "5Abd44f3-3f38-8Eca-aA2e-3a7Db0Bb2040" ] }, "workflow_end": { "x": 18753334.816784456, "y": -49462597.49329651, "gridCoordinate": { "x": -50534576.75803656, "y": -36421902.95008696 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_end", "error_handler" ], "complete": [ "workflow_end", "error_handler", "workflow_start", "e28f", "error_handler" ], "error": [ "3a1f", "error_handler", "workflow_end", "workflow_start" ] }, "metrics": { "end_time": -54340211.89761315, "run_time": 4261977.398537815 }, "groups": [ "default", "086b011d0404348a04ec7c1f" ], "iterations": [ "AF02C311-7311-B581-d6Df-Bb8210dc4bcC", "cE6CCbDc-0ac5-BFF9-555f-B5F72Ce7D3Ea" ] }, "error_handler": { "x": 91691945.42080015, "y": 30635077.56449622, "gridCoordinate": { "x": 70035136.48961136, "y": 71200266.2516833 }, "name": "childJob", "location": "Application", "locationType": null, "app": "voluptate", "canvasName": "enim", "displayName": "irure", "summary": "Ut dolore non nisi", "description": "esse do Ut", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/~0/Hcy6VMjzLB" }, { "type": "encryption", "pointer": "/~1/GwH0oIpuX6/~1/MakXDeXMPs/a.NKo7Bbo/q7c.Nxy/BlaFBMA-x/~1/vqPvun/~0" }, { "type": "encryption", "pointer": "/TC/~1" }, { "type": "encryption", "pointer": "/~1/~1/HmR/~0" }, { "type": "encryption", "pointer": "/O50BwCE6I,//w/~0/~1/zHK8fLPg/~0/~0" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "est labore", "highlightString": "Duis dolore laborum ut" } ], "status": "incomplete", "previous": { "incomplete": [ "workflow_start", "error_handler", "e28f", "workflow_start" ], "complete": [ "e28f", "workflow_start", "3a1f", "workflow_start", "e28f" ], "error": [ "workflow_start", "3a1f", "workflow_start", "e28f", "workflow_end" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "3a1f", "type": "loop" }, { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "workflow_end", "type": "revert" }, { "task": "workflow_end", "type": "loop" }, { "task": "e28f", "type": "revert" }, { "task": "3a1f", "type": "standard" }, { "task": "error_handler", "type": "loop" } ], "error": [ { "task": "workflow_end", "type": "revert" } ] }, "serverId": "occaecat velit aliquip enim", "start_time": "1978-02-05T18:20:39.331Z", "end_time": -65268452.14507131, "finish_state": "failure", "retrySettings": null, "type": "operation", "actor": "1551ab6b3e6480b995f614d1", "groups": [ "default" ], "iterations": [] } }, "parent": { "job": "nulla Lorem aute", "task": "nostrud laborum Lorem", "iteration": 18665991.401624545, "element": -48024645.69955562 }, "errorHandler": { "actor": "Pronghorn", "groups": [ "default", "default", "7ad6dc69e1065a26c2db704e" ], "iterations": [], "x": -21115643.630259305, "y": 46112532.970529556, "gridCoordinate": { "x": 57936157.76610044, "y": 51950608.16506305 }, "name": "est officia laborum", "location": "Application", "locationType": null, "app": "ut", "canvasName": "aute quis nisi aliqua", "displayName": "quis deserunt nulla ex", "summary": "nisi eiusmod", "description": "consequat in aute voluptate in", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/QlbmUa/BNz/hGabGE/~0/~0/epq.EXfge," } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "id deserunt", "highlightString": "dolore nostrud proident ipsum" }, { "key": "enim", "highlightString": "irure laboris" }, { "key": "minim amet proident consectetur pariatur", "highlightString": "quis eu sed" }, { "key": "Excepteur tempor", "highlightString": "elit et" }, { "key": "exercitation laborum", "highlightString": "aute labore cillum in" } ], "status": "canceled", "previous": { "incomplete": [ "3a1f", "error_handler", "workflow_start" ], "complete": [ "workflow_start", "error_handler", "workflow_start" ], "error": [ "workflow_start", "workflow_end" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "revert" }, { "task": "e28f", "type": "loop" }, { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "error_handler", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "standard" } ] }, "serverId": "id", "start_time": "1976-01-04T01:10:08.96Z", "end_time": -189630.73998241127, "finish_state": "failure", "retrySettings": null, "type": "automatic" }, "groups": [ "default", { "_id": "dd98fa63c970ab419ae7b55a", "provenance": "cillum commodo", "name": "officia sint incididunt", "description": "aute Excepteur voluptate", "memberOf": [ { "groupId": "a7d038c6e4eef550a2533159", "aaaManaged": true }, { "groupId": "9c97d4daa84c9f29cce46ba7", "aaaManaged": true }, { "groupId": "906bffed0323d404894fa849", "aaaManaged": true }, { "groupId": "ed29926004477e23055db541", "aaaManaged": true }, { "groupId": "cfa57a27b5d95657a75dfe34", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "est labore" } ], "inactive": false, "_meta": { "created": "1996-12-16T13:47:05.111Z", "updated": "1992-07-31T03:27:36.974Z", "migrationVersion": -8136170 } }, "e3434646b2a3a8e5c73fc696", { "_id": "4ed7b18087ced8816421c1df", "provenance": "Excepteur minim voluptate", "name": "dolor pariatur", "description": "proident non", "memberOf": [ { "groupId": "a69f22df43ebd8e8f8f9f363", "aaaManaged": false }, { "groupId": "46a9ada8ef1e60912f380452", "aaaManaged": true }, { "groupId": "a322a089d33a8a9cc27c7548", "aaaManaged": false }, { "groupId": "c8dbd2e4a81943384193255c", "aaaManaged": false }, { "groupId": "1de7caf27ef04759c1dac728", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "laborum aliqua" }, { "roleId": "proident labore eiusmod voluptate nostrud" }, { "roleId": "anim" } ], "inactive": false, "_meta": { "created": "1951-09-06T04:06:38.051Z", "updated": "1957-05-20T17:24:55.437Z", "migrationVersion": -63836596 } }, "default" ], "watchers": [ "Pronghorn", null, "Pronghorn", { "_id": "763470f7616ddf64a8aee829", "provenance": "non ad", "username": "in", "firstname": "Excepteur dolor laboris laborum", "memberOf": [ { "groupId": "2bab37bc6bc802a8e3a721f4", "aaaManaged": false }, { "groupId": "f39807949e36c65e7614af95", "aaaManaged": false }, { "groupId": "683a1e6fa05db13c7de4a0ca", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sint tempor esse ipsum" }, { "roleId": "id Ut in" }, { "roleId": "in" }, { "roleId": "magna Ut commodo" }, { "roleId": "in enim ad voluptate" } ], "inactive": false, "lastLogin": "1951-03-26T22:20:57.663Z", "_meta": { "created": "1958-08-07T04:41:28.253Z", "updated": "1986-03-14T04:15:50.768Z", "migrationVersion": 69826900 }, "email": "reprehenderit irure incididunt ad" }, { "_id": "54933f5134491f95649051ce", "provenance": "nulla tempor", "username": "ad", "firstname": "minim", "memberOf": [ { "groupId": "888e345742af3b68d2657b02", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "in quis ut" }, { "roleId": "velit ut magna in minim" }, { "roleId": "dolor dolore" }, { "roleId": "laborum qui" }, { "roleId": "ipsum magna" } ], "inactive": true, "lastLogin": "2006-03-19T00:52:22.939Z", "_meta": { "created": "2007-08-18T07:41:32.889Z", "updated": "1975-07-09T07:06:27.199Z", "migrationVersion": -20654607 }, "email": "et fugiat sit" } ], "metrics": { "start_time": -58592675.43120632, "progress": 0.6228598730261181, "end_time": -32438803.08809483, "user": "Pronghorn", "owner": null } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }