Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

Either Or Parallel Workflow Pattern

A pattern to implement an either-or logic with parallel processes

This workflow shows how to implement an either/or pattern in Step Functions with two processes running in parallel.

GitHub icon Visit the GitHub repo for this workflow.

< Back to workflows

Download

git clone https://github.com/aws-samples/step-functions-workflows-collection/tree/main/either-or-parallel-pattern/ cd step-functions-workflows-collection/either-or-parallel-pattern

Deploy

sam deploy --guided


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

1. Delete the stack: sam delete.

Additional resources

Presented by Madhav Vishnubhatta

Madhav is a Technical Account Manager at AWS