Skip to main content

Get Workflows by Correlation ID

With the list of correlation IDs, this API helps in finding and returning workflows.

Input Payload

nameThe name of the workflow for which the correlated workflow is to be fetched.

API Endpoint

POST /workflow/{name}/correlated

Returns a map with key as correlationId and value as a list of Workflows. When IncludeClosed is set to true, the return value also includes workflows that are completed; otherwise, only running workflows are returned,

Client SDK Methods

Map<String, List<Workflow>> getWorkflowsByNamesAndCorrelationIds(List<String> correlationIds, List<String> workflowNames, Boolean includeClosed, Boolean includeTasks)