Now you can trigger events when your action executions complete. This new feature gives you more flexibility and options when it comes to your action executions.
With post-execution triggers, more advanced workflows are now possible:
With this initial release, two trigger types are supported:
Multiple post-execution triggers can be added to a single action. So you can add multiple “Execute Action” triggers, multiple “Invoke Amazon Lambda Function” triggers, or a combination of trigger types.
When configuring an action with post-execution triggers, you can choose to execute the trigger on many execution result combinations:
For example, you can trigger one Lambda function to execute on execution success, and a different Lambda function on failure.
The “Execute Action” trigger is fairly simple. Just choose the action that you want to execute after the current one.
The “Invoke Amazon Lambda Function” trigger will trigger a Lambda function after the current action execution completes. When invoking Amazon Lambda functions, details about the action is sent to the function in a JSON structure:
{
"ActionId": "a-12345678",
"ActionVersionId": "av-12345678",
"ActionName": "My action",
"ActionType": "amazon-start-ec2-instances",
"ActionExecutionId": "ae-12345678",
"StartDate": "2018-09-27T00:00:00Z",
"EndDate": "2018-09-27T01:00:00Z",
"Result": {
"Code": 0,
"Text": "Execution succeeded"
},
"UserData": "my extra data"
}
You can add extra data along with the event data in a UserData
property.
When adding post-execution triggers to your actions, keep the following in mind:
These new features are available today at no extra cost aside from normal action execution costs.
Try Skeddly today. Sign-up for our 30 day free trial or sign-in to your Skeddly account to get started.