Executing Step function
On state machine overview page click on start execution. Add input for our execution as below.
- Click on start Execution. New IAM role will be added for execution where click confirm and continue.
- On successful execution scroll down to see Graph View and click on “Show Article” state to view the output.
As we can see the flow of execution and the output where the status of article is changed to “Review” from “Pending”
- Similarly create another execution with input status as “Review” you should see following flow of execution.
A Complete Guide For Using The AWS Step Functions
AWS Step functions allow the management of distributed workflows. It allows us to generate and manage serverless workflows as a series of steps. Each step runs as an event-driven workflow. A step is also called a state, which has specific input and generates output. Let’s see how we can use AWS step functions for running serverless workflows.