Skip to main content
All CollectionsActionsAmazon Web Services
Start SWF Workflow Execution Actions
Start SWF Workflow Execution Actions
Matt Houser avatar
Written by Matt Houser
Updated over a week ago

Description

The Start SWF Workflow Execution action can be used to start an execution of a workflow type in a Simple Workflow domain.

Settings

Please see Common Action Settings for a description of settings common to all action types.

Domain

The name of your workflow domain in which the workflow execution is created.

Workflow Type Name

The name of the workflow type.

Workflow Type Version

The version of the workflow type.

Workflow Execution ID

Unique ID for the workflow execution. Macros can be used in this field. See below.

Task List

Optional. The task list to use for decision tasks. If omitted, the default task list is used.

Input

Optional. The input to provide to the workflow execution. This should be information that is meaningful to the workflow.

Workflow Tags

Optional. Tags to associate with the workflow execution. A maximum of 5 tags can be specified.

Macros

The following macros can be used to include some run-time information.

$(DATE)

Date of snapshot in year-month-day format

$(TIME)

Time of snapshot in 24-hour format

$(DOW)

Day of the week, as a short name.

  • Sun

  • Mon

  • Tue

  • Wed

  • Thu

  • Fri

  • Sat

$(DAYOFWEEK)

Day of the week, as a long name.

  • Sunday

  • Monday

  • Tuesday

  • Wednesday

  • Thursday

  • Friday

  • Saturday

$(DAYOFMONTH)

Day of the month.

$(WEEKOFMONTH)

Week of the month, starting at day 1 of the month.

  • Day 1 - 7 is week 1

  • Day 8 - 14 is week 2

  • Day 15 - 21 is week 3

  • Day 22 - 28 is week 4

  • Day 29 - 31 is week 5

$(INVWEEKOFMONTH)

Week to the end of the month, ending at the last day of the month. For example, for a 31-day month:

  • Day 25 - 31 is week 1

  • Day 18 - 24 is week 2

  • Day 11 - 17 is week 3

  • Day 4 - 10 is week 4

  • Day 1 - 3 is week 5

$(MOY)

Month of the year, as a short name.

  • Jan

  • Feb

  • Mar

  • Apr

  • May

  • Jun

  • Jul

  • Aug

  • Sep

  • Oct

  • Nov

  • Dec

$(MONTHOFYEAR)

Month of the year, as a long name.

  • January

  • February

  • March

  • April

  • May

  • June

  • July

  • August

  • September

  • October

  • November

  • December

Macros are case-sensitive. For example, $(Time) is not valid. $(TIME) must be used.

Amazon Commands Used

The following Amazon AWS commands are used. The access key should have permission to execute all of them.

  • swf:StartWorkflowExecution

Did this answer your question?