Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Fixed code block title.
Excerpt
Div
stylefloat:left; padding:0.5em 1em

Use the Start Step Functions Execution action to process Bamboo notifications, JIRA workflow transitions and JIRA Service Desk automation rule executions with AWS Step Functions to coordinate the components of distributed applications and microservices using visual workflows:

Div
styleclear:both

Building applications from individual components that each perform a discrete function lets you scale and change applications quickly. Step Functions is a reliable way to coordinate components and step through the functions of your application. Step Functions provides a graphical console to arrange and visualize the components of your application as a series of steps. This makes it simple to build and run multi-step applications. Step Functions automatically triggers and tracks each step, and retries when there are errors, so your application executes in order and as expected. Step Functions logs the state of each step, so when things do go wrong, you can diagnose and debug problems quickly. You can change and add steps without even writing code, so you can easily evolve your application and innovate faster.

Panel
borderColor#bbb
bgColor#eeeeee

On this page:

Table of Contents
maxLevel2
exclude(Popular.*|Recent.*)

Panel
borderColor#bbb
bgColor#eeeeee

Related pages:

Integrations

You can use the Start Step Functions Execution action with the following integrations:

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "integration" and label in ("bamboo","bitbucket","confluence","jira") and space = currentSpace()

Requirements

The Start Step Functions Execution action requires sufficient IAM permissions - an adequate IAM policy similar to the one provisioned by the Automation with AWS (Core) CloudFormation template might look as follows:

Code Block
languagejs
linenumberstrue
collapsetrue
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "StepFunctionsServiceActions",
            "Effect": "Allow",
            "Action": "states:*",
            "Resource": "*"
        },
        {
            "Sid": "StepFunctionsPassRole",
            "Effect": "Allow",
            "Action": "iam:PassRole",
            "Resource": "arn:aws:iam::*:role/service-role/StatesExecutionRole*"
        }
    ]
}

(lightbulb) Refer to Creating IAM Roles for Use with AWS Step Functions for details on how to create more granular/secure policies.

Configuration

To configure an Start Step Functions Execution action:

  1. Complete the following settings:

    Parameters

    Specify the action parameters according to the following skeleton in JSON format – refer to stepfunctions . start-execution for details:

    Info

    You typically only specify the stateMachineArn and input parameters, because name must be unique for your AWS account and region and properly defaults to a GUID when absent.

    Tip

    You can inject contextual variables into the remote action payload, refer to Entity Variables for details.

    Code Block
    languagejs
    titleInvoke Lambda Function Start Step Functions Execution skeleton
    linenumberstrue
    {
        "stateMachineArn": "",
        "name": "",
        "input": ""
    }

Entity Variables

You can inject contextual workflow variables with workflow entities into the remote action payload template – currently available entities are:
Page Properties Report
firstcolumnName
sortByTitle
cqllabel = "entity" and space = currentSpace()

Examples

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
sorttitle
excerptTypesimple
cqllabel = "example" and label = "parameters" and label = "start-step-functions-execution"

How-to Articles

Filter by label (Content by label)
max8
showSpacefalse
sorttitle
excerptTypesimple
cqllabel in ("action","step-functions","execution") and label in ("kb-how-to-article","kb-troubleshooting-article") and label = "automation-with-aws"

Frequently Asked Questions (FAQ)

Questionslist macro
filterpopular
asktrue
limit8
topicautomation-with-aws,action,step-functions,execution