Workflows

Workflows API enables you to run flow through api.

circle-info

To enable the workflow to be triggered via the public API, ensure proper configuration while avoiding any tasks that necessitate interaction with the end user.

Run Workflow

post

Differences between versions: version 1 relies on caseId and is scheduled for deprecation, whereas version 2 uses recordId (this field is optional) and is recommended moving forward.

Body
caseIdstring · uuidRequired

Case identifier for which we want to initiate the workflow

workflowDefinitionIdstringRequired

ID of the workflow definition

Example: 3b2d8a4f-579f-4e2e-a51c-f859e532fe8c
parametersIdstringOptional

ID of the parameters used in workflow

Example: 4b6ffcb6-ab6d-44b9-b5ab-4b5147b0b302
Responses
chevron-right
200

Workflow has been run

application/json
idstring · uuidRequired

ID of the Workflow

Example: 63131229-edc5-49d0-888b-7724e65d7d2d
caseIdstringRequired

ID of the Case

Example: 3b2d8a4f-579f-4e2e-a51c-f859e532fe8c
statusstring · enumRequired

Status of the workflow

Possible values:
post
/workflows/run

Get Workflow Result

get

Retrieve the result of a workflow

Path parameters
workflowIdstring · uuidRequired

Workflow identifier

Responses
chevron-right
200

Returns the workflow result

application/json
createdDatestringRequired

Creation time

caseIdstringRequired

Case Id

partyIdstringRequired

Case id

get
/workflows/{workflowId}/result

Check Workflow Status

get

Check the status of a workflow

Path parameters
workflowIdstring · uuidRequired

Workflow identifier

Responses
chevron-right
200

Returns the Workflow Status

application/json
idstring · uuidRequired

ID of the Workflow

Example: 63131229-edc5-49d0-888b-7724e65d7d2d
caseIdstringRequired

ID of the Case

Example: 3b2d8a4f-579f-4e2e-a51c-f859e532fe8c
statusstring · enumRequired

Status of the workflow

Possible values:
get
/workflows/{workflowId}

Last updated