Docs
Get Workflow
GET /integrations/flex/workflow
GET
/integrations/flex/workflowReturns the workflow of the configured Flex element definition, its states and the actions between them, for choosing a status push action. Calls Flex live and makes many requests, so use it while configuring, not on page load. Requires OrganizationAdmin.
Response
| Field | Type | Description |
|---|---|---|
| workflowId | string| null | |
| workflowName | string| null | |
| states | GetFlexWorkflowResponseStateInfo[]| null |
GetFlexWorkflowResponseStateInfo
| Field | Type | Description |
|---|---|---|
| stateId | string| null | |
| stateName | string| null | |
| flexStatusId | string| null | |
| flexStatusName | string| null | |
| actions | GetFlexWorkflowResponseActionInfo[]| null |
GetFlexWorkflowResponseActionInfo
| Field | Type | Description |
|---|---|---|
| actionId | string| null | |
| actionName | string| null | |
| targetStateId | string| null | |
| targetFlexStatusId | string| null | |
| prompts | boolean |