ProAbs - Load workflow steps
API Url
Used for loading workflow steps of selected workflow.
GET
http://localhost:16010/ProMarkREST/rest/ProAbs/workflows/{id}/steps
Permissions: user
Path parameters
| Field | Type | Description |
|---|---|---|
| id | Number | Workflow identifier |
Success 200
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
| data | Object | Object containing the requested data. |
| steps | Object | Collection of workflow steps |
commentoptional | String | Comment |
deadlineoptional | Date | deadline |
descriptionoptional | String | Step description |
eventDescroptional | String | Event Description |
eventErroroptional | String | Event error if any |
eventIdoptional | String | Event Identifier |
eventResultoptional | String | Event Result |
fromoptional | Date | Start date |
| id | Number | Step identifier |
| incarnation | Number | Incarnation of the "step sequence". |
isExecutedoptional | Boolean | If event executend or not. |
notificationStatusoptional | Number | Notification Status, possible values: |
| order | String | Sorting order |
tooptional | Date | End date |
| type | Number | Workflow Step types, possible values are: 1:Starting 2:Continuation 3:Termination |
| workflowId | Number | Workflow identifier |
messageoptional | Object | Object containing response messages. |
| code | Number | Message code. |
| text | String | Message text. |
| type | String | Type of message. "warning""info" |
Response example:
{"response": {"data": {"steps": [{"workflowId": 34080,"order": "11","deadline": "2018-05-31","eventResult": "Created in ProMark","type": 1,"incarnation": 1,"id": 1,"description": "became ill"},{"workflowId": 34080,"order": "31","deadline": "2018-08-29","eventResult": "Created in ProMark","notificationStatus": 9,"type": 3,"incarnation": 1,"id": 1,"description": "Back on work"}]},"errorCode": 0,"errorMessage": ""}}