Open Work Item
Opens the next available work item for a resource, either from their default work list, or optionally from a view.
Endpoint | http://ace-nightly-test/bpm/work/v1/openNextWorkItem Request Method: POST |
Request Payload | {"userId":"tibco-admin"} |
Response | { "id": "237", "visible": true, "header": { "distributionStrategy": { "stringKey": "WMdsOffer", "description": "Offer" }, "priority": 50, "startDate": "2024-06-27T09:21:37.632Z", "name": "User1Step1", "description": "User1Step1", "flags": { "scheduleStatus": { "stringKey": "WMschedStatusDuring", "description": "During" } }, "itemContext": { "activityId": "t:002g3r.rv", "activityName": "User1Step1", "appInstance": "p:0a203r", "appName": "Array001", "appVersion": 1, "appId": "_cHD4EOjEEd-NYeUhOkgyow" }, "userId": "tibco-admin", "workType": { "uid": "WT__rYdllujEEd-NYeUhOkgyow", "version": "1.3.0.20240304060939969" } }, "state": { "stringKey": "WMstateOpened", "description": "Opened" }, "body": { "inouts": [ { "name": "TESTPASSED", "simple": [ "false" ] }, { "name": "StringArray" } ] }, "version": "11" } |