UML State Machines as Step Functions

Implementing UML state machine using Step Functions

This workflow implements a UML state machine that models the behavior of a buy-sell stock order.
It demonstrates how a Step Functions workflow implements UML state activities, event dispatch, guards, transition activities, fail states, and completion transitions.
See the GitHub repo for additional examples showing hierarchical and orthogonal states, cancellation events, internal transitions, transition to history, and using an event loop for complex flow.

Launch Stack
< Back to all workflows

GitHub icon View this workflow on GitHub


Clone repo

git clone https://github.com/aws-samples/step-functions-workflows-collection/tree/main/uml-statemachine/cd step-functions-workflows-collection/uml-statemachine

Deploy

sam deploy --guided


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

1. Delete the stack: sam delete.

Additional resources

Created by:

Mike Havey

Mike Havey

Mike Havey is a Senior Solutions Architect for AWS. Mike is the author of two books and numerous articles.

Follow on LinkedIn