manifest.json file and wire up Workflows to your app.
Start a Workflow
Starts a Workflow and returns details about the Workflow Instance. Code Example
| Property Name | Type | Required | Description |
|---|---|---|---|
| workflowAlias | String | Required | The name given to the Workflow in the manifest |
manifest.json file and properties in the object should correspond to the aliasName of the parameter.
status property can take the values null, IN_PROGRESS, CANCELED, or COMPLETED.
A status of null might be valid. It just means the workflow hasn’t reported back as started yet.
Get Metrics for a Workflow
Returns key metric information about a Workflow. Code Example
| Property Name | Type | Required | Description |
|---|---|---|---|
| limit | Long | Optional | limit of instance metrics returns |
| offset | Long | Optional | offset for pagination |
| after | Long | Optional | after a certain time |
| until | Long | Optional | before a certain time |
| status | String | Optional | Only show instances that have the provided status(es) IN_PROGRESS, CANCELED, COMPLETED |
status property can take the values null, IN_PROGRESS, CANCELED, or COMPLETED.
A status of null might be valid. It just means the workflow hasn’t reported back as started yet.
Get Workflow Instance
If you are checking on the status of an existing Workflow instance. Code Example
| Property Name | Type | Required | Description |
|---|---|---|---|
| workflowAlias | String | Required | The name given to the Workflow in the manifest |
| workflowInstanceId | String | Required | The UUID of the Workflow instance |
status property can take the values null, IN_PROGRESS, CANCELED, or COMPLETED.
A status of null might be valid. It just means the workflow hasn’t reported back as started yet.