Execute your workflow by using the Step Functions console - AWS SDK for JavaScript

Help us improve the AWS SDK for JavaScript version 3 (V3) documentation by providing feedback using the Feedback link, or create an issue or pull request on GitHub.

The AWS SDK for JavaScript V3 API Reference Guide describes in detail all the API operations for the AWS SDK for JavaScript version 3 (V3).

Execute your workflow by using the Step Functions console

This topic is part of a tutorial that demonstrates to to invoke Lambda functions using AWS Step Functions. To start at the beginning of the tutorial, see Creating AWS serverless workflows using AWS SDK for JavaScript.

You can invoke the workflow on the Step Functions console. An execution receives JSON input. For this example, you can pass the following JSON data to the workflow.

{ "inputCaseID": "001" }

To execute your workflow:

  1. On the Step Functions console, choose Start execution.

  2. In the Input section, pass the JSON data. View the workflow. As each step is completed, it turns green.

  3. If the step turns red, an error occurred. You can click the step and view the logs that are accessible from the right side.

    When the workflow is finished, you can view the data in the DynamoDB table.

Congratulations, you have created an AWS serverless workflow by using the AWS SDK for Java. As stated at the beginning of this tutorial, be sure to terminate all of the resources you create while going through this tutorial to ensure that you’re not charged. You can do this by deleting the AWS CloudFormation stack you created in the Create the AWS resources topic of this tutorial,as follows:

  1. Open the AWS CloudFormation in the AWS management console.

  2. Open the Stacks page, and select the stack.

  3. Choose Delete.

For more AWS cross-service examples, see AWS SDK for JavaScript cross-service examples.