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": "sit anim adipisicing cupidatat culpa" } }
{ "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": "c22ab84914df6d132e2603f3", "uuid": "1349a5c4-ed62-9582-a852-d1b04066a5b0", "font_size": 25101521, "type": "resource:compliance", "created": "2002-08-30T03:13:11.657Z", "last_updated": "2006-09-27T22:20:07.236Z", "createdVersion": "2893927.322.198255-1006.3.65.445763", "lastUpdatedVersion": "276879.0487.203-1498.58525273.80163.9937035086", "canvasVersion": 1, "encodingVersion": 1, "migrationVersion": 50779091, "name": "myCoolDocumentName", "description": null, "preAutomationTime": -46512399.506418854, "sla": -35748943.901188746, "decorators": [ { "type": "encryption", "pointer": "/JDDS1y/WtZ4OS/~0/bkM,Np/~0/~1/~1" }, { "type": "encryption", "pointer": "/w+I+40MrN/" }, { "type": "encryption", "pointer": "/~1/~1/~0/~1/~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": "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": "error_handler", "name": "myCoolDocumentName", "message": "culpa" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "qui quis" }, { "task": "e28f", "name": "myCoolDocumentName" } ], "ancestors": [ "06efd76c6dacfe231a939de2", "96b0446b76f022218cd9dfc3", "0f019bdbf71923239786b7b6" ], "validationErrors": [ { "keyword": "proident", "instancePath": "irure consectetur", "schemaPath": "sunt consequat laboris amet", "message": "sunt tempor nulla eu ea" }, { "keyword": "qui pariatur labore", "instancePath": "laboris Lorem id", "schemaPath": "do cupidatat voluptate", "message": "sed elit" }, { "keyword": "in irure", "instancePath": "aliquip veniam", "schemaPath": "irure magna ad", "message": "ullamco nostrud esse" }, { "keyword": "nisi", "instancePath": "in dolore eu ea sit", "schemaPath": "Lorem", "message": "cupidatat" } ], "created_by": "1d716d008ba47886d3aa927b", "last_updated_by": "Pronghorn", "tasks": { "workflow_start": { "x": 8179591.437994912, "y": -2208926.5331497937, "gridCoordinate": { "x": -29921682.051885366, "y": 10508307.032078117 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 3444652.184522927, "finish_state": "error", "user": "d9c8613db4887914e74b4f2e" }, "groups": [ "default", "872b377cf2eb3475ef209d75", "default" ], "iterations": [ "C6dE1428-4BbA-5F63-1FbC-3e42CdAf0eae", "42Dcb7A4-a5c9-34a0-eB85-7Ecd54aE46b8", "FaBAdDD6-6cC8-bBfb-C8cc-AfCFF0f1Cb97" ] }, "workflow_end": { "x": 59334367.851493895, "y": 8786116.293199927, "gridCoordinate": { "x": 63955119.72526449, "y": -50001110.400309436 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start", "workflow_start", "3a1f", "3a1f", "workflow_start" ], "complete": [ "workflow_start" ], "error": [ "error_handler" ] }, "metrics": { "end_time": 57801143.37646726, "run_time": 68443135.91298673 }, "groups": [ { "_id": "b225989b27067a807957b515", "provenance": "reprehenderit cillum", "name": "tempor eu eiusmod incididunt minim", "description": "dolore nostrud ullamco", "memberOf": [ { "groupId": "c95ed50f96db39b8696e899b", "aaaManaged": false }, { "groupId": "e358c8c24f84d907323b8e7c", "aaaManaged": false }, { "groupId": "7b42425392adc2173b402861", "aaaManaged": false }, { "groupId": "5ffaea439b86a2e3b54ec401", "aaaManaged": false }, { "groupId": "5ea27be86780d0f053733d76", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "magna eu reprehenderit pariatur aliquip" }, { "roleId": "ut in officia" } ], "inactive": true, "_meta": { "created": "1954-06-04T00:42:55.396Z", "updated": "2002-05-11T05:32:02.691Z", "migrationVersion": 6055884 } } ], "iterations": [ "F76b5F8B-A2Bb-d7Ce-2e58-74f108574Fd3" ] }, "error_handler": { "x": 15475201.9948674, "y": 74418468.33701667, "gridCoordinate": { "x": 36498866.746983916, "y": -19720639.517423645 }, "name": "childJob", "location": "Adapter", "locationType": null, "app": "deserunt magna ea", "canvasName": "esse in qui ea", "displayName": "deserunt do ea labore", "summary": "consequat in dolor qui ullamco", "description": "et sed Ut irure ut", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/LvChU/Km/yrX9Qiy4gPI/~1/~1/hHD/~0" }, { "type": "encryption", "pointer": "/~0/~0" }, { "type": "encryption", "pointer": "/~0/Enuu8fqp/~1/~0/oN4-SHg" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "pariatur commodo Lorem", "highlightString": "fugiat laboris deserunt" }, { "key": "ea enim ut", "highlightString": "ad ullamco" }, { "key": "pariatur culpa nisi ex", "highlightString": "eu ullamco voluptate adipisicing esse" } ], "status": "canceled", "previous": { "incomplete": [ "3a1f", "e28f", "workflow_start" ], "complete": [ "workflow_start", "workflow_end", "e28f", "workflow_start", "3a1f" ], "error": [ "3a1f", "e28f", "error_handler", "e28f" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "error_handler", "type": "standard" } ], "failure": [ { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "standard" } ], "error": [ { "task": "3a1f", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "3a1f", "type": "standard" } ] }, "serverId": "veniam ea dolore mollit occaecat", "start_time": "2002-12-18T08:22:53.959Z", "end_time": -12104088.414061874, "finish_state": "failure", "retrySettings": null, "type": "operation", "actor": { "_id": "cf0a140ab233e6c2f8b6953b", "provenance": "voluptate sunt sit amet", "username": "consequat irure laboris fugiat minim", "firstname": "commodo incididunt enim in cillum", "memberOf": [ { "groupId": "bfc11edc49eb1fc24e8de7f1", "aaaManaged": true }, { "groupId": "5fd433d9a997c3cc50fe6bd8", "aaaManaged": false }, { "groupId": "c49f354842d52fc6fc385366", "aaaManaged": false }, { "groupId": "45c4670a87c619e796850452", "aaaManaged": true }, { "groupId": "bea375f44f538268c64d58f9", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "consequat nisi ex ut id" }, { "roleId": "laborum officia" }, { "roleId": "ut" }, { "roleId": "labore occaecat incididunt deserunt" } ], "inactive": true, "lastLogin": "1960-07-27T18:24:35.51Z", "_meta": { "created": "1951-04-19T17:55:16.026Z", "updated": "1980-04-02T20:57:13.01Z", "migrationVersion": 90056099 }, "email": "in ad" }, "groups": [ "35686e6094ef320d26e1f185", "default", "04747a275f2490fbfa3d0e1a", { "_id": "2e402e26051c803fbbd66c11", "provenance": "eiusmod sint labore incididunt", "name": "ea incididunt aliqua", "description": "deserunt", "memberOf": [ { "groupId": "12bbca417d15ae36b5b8c86f", "aaaManaged": true }, { "groupId": "ff30764a0674aa2324b5cfbc", "aaaManaged": false }, { "groupId": "b14de6b53e75b957d53b28cc", "aaaManaged": false }, { "groupId": "6008b278cd19924513e5b8e2", "aaaManaged": true }, { "groupId": "a0a19c07125c207f8293171f", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "Excepteur ex ipsum" }, { "roleId": "occaecat" }, { "roleId": "veniam" } ], "inactive": false, "_meta": { "created": "1994-02-20T03:27:09.472Z", "updated": "2013-05-03T22:37:15.412Z", "migrationVersion": 23393437 } }, "default" ], "iterations": [ "7dE77b5F-3B68-97b8-5Eb6-8B0659fce7fb", "105c1e7E-d6de-5cD9-76ED-CF1E6d34ff82", "fE6Be15a-ba51-DCE6-1dDb-2bCf42F6bFcb" ] }, "cc": { "actor": "job", "groups": [ "default", { "_id": "624ed4fe3d2c06543d781794", "provenance": "in in laborum nisi non", "name": "magna ad", "description": "dolor culpa aliquip non", "memberOf": [ { "groupId": "ee6ad1de53727699e01b102c", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "elit incididunt" }, { "roleId": "occaecat commodo esse" }, { "roleId": "reprehenderit" }, { "roleId": "id eu incididunt ut veniam" }, { "roleId": "laboris sunt" } ], "inactive": false, "_meta": { "created": "2014-01-24T22:25:31.144Z", "updated": "2001-06-11T07:15:50.791Z", "migrationVersion": 49842092 } } ], "iterations": [ "84e57B68-FffF-3bEf-FaC4-0D31b154b4fB", "B02C8668-9BFc-6daa-Bfa6-B374C1FE88ed" ], "x": -18238100.736896664, "y": -48687066.532326065, "gridCoordinate": { "x": -78684922.34166831, "y": 62161551.43224734 }, "name": "id ut sunt veniam sint", "location": "Adapter", "locationType": "dolor laboris veniam tempor", "app": "minim", "canvasName": "childJob", "displayName": "qui minim ut", "summary": "sint", "description": "nisi quis qui", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~0/~0/NnYTMnK" }, { "type": "encryption", "pointer": "/~0" }, { "type": "encryption", "pointer": "/~0/PtuUL/S6dDI/~0/~1/xv-,iCA/~0/hWW/~1/XZus6nHp" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "ut", "highlightString": "minim nisi dolor aute" }, { "key": "enim commodo proident irure", "highlightString": "proident" } ], "status": "canceled", "previous": { "incomplete": [ "3a1f", "workflow_start", "workflow_end" ], "complete": [ "workflow_start", "3a1f", "e28f" ], "error": [ "workflow_end", "e28f", "workflow_start", "e28f" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "workflow_end", "type": "loop" } ], "failure": [ { "task": "3a1f", "type": "standard" }, { "task": "error_handler", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "revert" }, { "task": "error_handler", "type": "loop" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "loop" } ] }, "serverId": "consectetur", "start_time": "2023-06-21T12:45:11.499Z", "end_time": 5745784.570604771, "finish_state": "success", "retrySettings": { "state": [ "failure" ], "autoRetry": false, "limit": 74292567, "delay": 3064058, "count": 96834163, "finishedRetrying": false }, "loop": { "atLeastOneComplete": true, "finishedCount": 42540532.52061531, "outgoing": [] }, "childJobs": [ { "_id": "ipsum tempor", "name": "labore nisi", "iteration": -16569963.25945057 }, { "_id": "occaecat", "name": "voluptate velit", "iteration": 83930378.04074931 } ] } }, "parent": { "job": "id commodo", "task": "ut", "iteration": 16072732.336811185, "element": -87317330.55529314 }, "errorHandler": { "actor": "job", "groups": [ "299d7a7bd925d798de6c4a7e", "default" ], "iterations": [ "A9De0FE6-a8fc-aDe2-9374-cE82BA96f339" ], "x": -15175935.09537752, "y": -87729905.89516874, "gridCoordinate": { "x": 93877945.89680552, "y": -32983198.462140754 }, "name": "magna", "location": "Broker", "locationType": "ullamco est", "app": "anim ut", "canvasName": "childJob", "displayName": "consectetur", "summary": "aliqua ut tempor", "description": "nulla", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/hr8o/SJtd/~0/vgy.E.TSuo/XB.z" }, { "type": "encryption", "pointer": "/npVO/qLuFR/vAHVFV/g1/~0/~0/iBs6/~0" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "ullamco laboris", "highlightString": "sint" }, { "key": "nostrud cupidatat elit", "highlightString": "Duis" } ], "status": "complete", "previous": { "incomplete": [ "workflow_start", "workflow_start", "e28f", "workflow_end" ], "complete": [ "e28f", "workflow_start", "e28f", "e28f", "workflow_end" ], "error": [ "workflow_end", "3a1f", "workflow_start" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "standard" } ], "failure": [ { "task": "workflow_end", "type": "loop" }, { "task": "3a1f", "type": "revert" }, { "task": "e28f", "type": "loop" }, { "task": "error_handler", "type": "revert" } ], "error": [ { "task": "workflow_start", "type": "revert" } ] }, "serverId": "aute voluptate in sunt", "start_time": "2003-05-03T00:31:19.366Z", "end_time": -54795693.01221625, "finish_state": "failure", "retrySettings": null, "loop": { "atLeastOneComplete": false, "finishedCount": -98507027.21424036, "outgoing": [] }, "childJobs": [ { "_id": "pariatur enim deserunt nisi aliqua", "name": "veniam enim", "iteration": -90844803.8235945 }, { "_id": "incididunt sint", "name": "dolore", "iteration": -38981556.260127805 } ] }, "groups": [ "default", { "_id": "51c12c001b28620612106138", "provenance": "quis laboris", "name": "officia", "description": "esse irure", "memberOf": [ { "groupId": "111a367e46e222ab592a943f", "aaaManaged": false }, { "groupId": "2defea0fb0f2bf98df34f166", "aaaManaged": false }, { "groupId": "cc168d8bae7e4b6db1ba08d1", "aaaManaged": false }, { "groupId": "8796463f042fe3e87ece5b7f", "aaaManaged": true }, { "groupId": "6fa4060fc6436902e970aec4", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "et deserunt in ipsum fugiat" } ], "inactive": false, "_meta": { "created": "2006-01-25T17:06:07.461Z", "updated": "1963-06-23T05:09:01.912Z", "migrationVersion": 58768492 } } ], "watchers": [ null, { "_id": "14970b2c560717dc8c2528c2", "provenance": "amet ad cupidatat aliqua", "username": "irure magna occaecat sed et", "firstname": "commodo Duis et pariatur deserunt", "memberOf": [ { "groupId": "aa8f2707ce06f621e133778f", "aaaManaged": true }, { "groupId": "d4ce5896e11219f53e7aad4f", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "consectetur anim culpa" }, { "roleId": "nisi culpa" } ], "inactive": true, "lastLogin": "2018-11-19T11:44:35.839Z", "_meta": { "created": "1956-09-01T15:21:32.527Z", "updated": "1995-04-20T21:11:25.127Z", "migrationVersion": -8598714 }, "email": "aliqua nisi est" } ], "metrics": { "start_time": -2402517.8655147105, "progress": 0.7422393623934465, "end_time": -47077863.092712894, "user": { "_id": "e5148f769b3f274253070fbb", "provenance": "dolor", "username": "ut", "firstname": "fugiat sed id", "memberOf": [ { "groupId": "da7b691df6aebf6a1c25375d", "aaaManaged": true }, { "groupId": "551a06a89316a14450225acd", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "qui officia sed laborum eiusmod" }, { "roleId": "veniam ex" }, { "roleId": "tempor" } ], "inactive": false, "lastLogin": "1979-05-06T10:20:47.658Z", "_meta": { "created": "1978-01-16T02:49:06.842Z", "updated": "2014-08-18T15:16:02.188Z", "migrationVersion": -32745363 }, "email": "aliquip ullamco Excepteur" }, "owner": { "_id": "1cae746e9ceba2e2b478ca38", "provenance": "dolor proident et tempor Lorem", "username": "consequat dolor", "firstname": "magna voluptate ullamco in", "memberOf": [ { "groupId": "f809b79eebe40618715d8272", "aaaManaged": false }, { "groupId": "3cc3369038da88fe3816fa2e", "aaaManaged": true }, { "groupId": "574253bc5d3ea8d1679c02e0", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "nostrud enim sit ut velit" }, { "roleId": "do adipisicing aliquip" } ], "inactive": true, "lastLogin": "1948-01-02T04:10:10.859Z", "_meta": { "created": "1965-12-03T00:57:22.736Z", "updated": "2012-11-24T00:07:04.62Z", "migrationVersion": 67863757 }, "email": "tempor eu non incididunt et" } } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }