Activity |
MapExecutions |
---|---|
Description |
Execute another state machine multiple times with different output |
Starting with States 1.5.5, the recommended way is to use Map States instead of MapExecutions
Input :
PropertyName |
Type |
Required |
Default Value |
Description |
---|---|---|---|---|
stateMachineArn |
STRING |
YES |
|
ARN of the state machine to execute |
items |
JSON ARRAY |
YES |
|
Array containing the various input to send to each Execution |
ExecutionParameters |
DICTIONARY |
YES |
|
JSON Element to add to items input |
Output
The Statemachine output
Example1: Execute a Map Execution
Input
{
"StateMachineArn": "extract-single-data-set",
"Items.$": "$.ProPilot.result",
"ExecutionParameters": {
"connection_name": "connection_name",
"output_file_name": "output_file_name",
"query_file_token": "query_file_token",
"staging_table_name": "staging_table_name",
"project.$": "$.project"
}
}
Output
{}