Let's begin by understanding what AWS54 Step Functions is all about before moving to our AWS Step Functions Plug-in and how it benefits workload automation users.
AWS Step Functions is a fully managed service provided by Amazon Web Services (AWS) that enables you to coordinate and orchestrate multiple AWS services into serverless workflows. With AWS Step Functions, you can design complex workflows by defining a series of steps, including branching, parallel execution, error handling and retries, using a visual interface or declarative code. This service abstracts the complexities of managing state and retries, allowing you to focus on defining your business logic.
AWS Step Functions seamlessly integrates with other AWS services, enabling you to create scalable and resilient workflows for a wide range of use cases, including data processing, application orchestration and microservices coordination. It provides monitoring and logging capabilities, giving you visibility into the execution of your workflows and enabling you to troubleshoot and optimize their performance efficiently. Overall, AWS Step Functions simplifies the development and management of complex distributed applications, allowing you to build resilient and scalable serverless architectures.
The AWS Step Functions Plug-in can be downloaded from Automation Hub to enhance your Workload Automation setup.
Let's start with the job definition parameters section of our plug-in.
Connect to AWS Step Functions with Workload Automation
Login to the Dynamic Workload Console and open the Workload Designer. Choose to create a new job and select the “AWS Step Functions” job type in the Cloud section.
General Tab:
Name: The user can provide any name in the name field.
Workstation: You need to choose the workstation.
Connection:
Establishing a connection to the AWS Cloud server:
Access Key ID: The user must have an access key ID for AWS in order to use its services. This access key ID must be unique for all users.
Secret Access Key: This is like a password. It is used for programmatic (API) access to AWS services.
AWS Region: Region refers to physical locations around the world where we cluster data centers. The user must be using a region like (ap-south-1).
AWS Role ARN: IAM roles are entities within AWS that define a set of permissions and policies to control access to AWS resources. The IAM role is referenced and identified across AWS services and resources using the Role ARN.
Test Connection: Click to verify that the connection to the AWS Step Functions works correctly.
Action:
In the Action tab, specify the job queue and definition you want to perform.
State Machine: A state machine is a workflow definition consisting of states representing tasks or actions. State machines enable creation of scalable, resilient, serverless workflows for tasks like application orchestration or data processing. They use Amazon States Language (ASL) and execute to progress through states based on defined logic.
Execute State Machine: The "Execute State Machine" action in AWS Step Functions refers to the process of starting the execution of a defined state machine. This action initiates the workflow defined within the state machine, causing it to progress through its states based on the defined logic and inputs. When you execute a state machine, Step Functions manages the execution, handling retries, errors, and state transitions automatically according to the workflow definition.
Submitting your job: Submit your job into the current plan. You can add your job to the job stream that automates your business process flow. Select the action menu in the top-left corner of the job definition panel and click on Submit Job into Current Plan. A confirmation message is displayed, and you can switch to the Monitoring view to see what is going on.
Monitor Page:
The user can track the jobs on the monitor page.
If the job completes successfully in the backend AWS Step Functions, the status should change to “Successful.”
Job Log Details:
Workflow Details Page:
Start a Conversation with Us
We’re here to help you find the right solutions and support you in achieving your business goals.