Use the state
endpoint to retrieve the status of a workflow process within a folder in the Explorer module of Anaplan Financial Consolidation.
The request returns the run ID of the workflow process.
Method and endpoint
/process/state
Parameter | Type | Description | Example |
{path} | string | The path to the workflow file in Explorer. | ImportsandExports |
{name_of_workflow} | string | The name of the workflow file in Explorer. | ModelExport |
Curl example
This request gets the run ID for the Compliance workflow, located in the Workflows/Other
folder in the Explorer.
curl --location GET 'https://fluenceapi-prod.fluence.app/api/v2305.1/process/state/Workflows/Other/Compliance' \
--header 'Tenant: CustomerTenant' \
--header 'Content-Type: application/json' \
--header 'X-API-TOKEN: 73ca5973-ce3e-4cc6-b2d4-b09a99770ccf'
Response
This request always returns a 200 OK
success message and a run ID. However, if the path or workflow name is incorrect, the run ID in the response is 00000000-0000-0000-0000-00000000000
.