Skip to main content

Synchronous Execution

Starts a workflow and waits until the workflow completes or the waitUntilTask completes.

Input Payload

AttributeDescription
nameName of the workflow to be executed.
versionChoose the required version of the workflow.

API Endpoint

POST /api/workflow/execute/{name}/{version}

Returns the output of the workflow.

Client SDK Methods

CompletableFuture<WorkflowRun> executeWorkflow(StartWorkflowRequest request, String waitUntilTask)