Evaluating conditions with action response format
You can evaluate arbitrary remote conditions in applicable integrations by returning a JSON result shape that adheres to the action response format schema defined below.
This allows you to call AWS services and third-party REST APIs to ensure that any prerequisites for your workflows are automatically checked right before dependent steps are initiated.
Supported integrations are the Jira Service Management Automate with AWS if condition, the Jira Automate with AWS workflow condition and Automate with AWS workflow validator, and the Bamboo Automate with AWS task.
On this page:
Related pages:
Response format
Return a response adhering to the following JSON result shape from your action to evaluate a remote condition:
{
'result': false,
'errorMessage': "Deployment blocked due to service being in alarm state"
}
Boolean true is the only valid response to indicate success
Returning false indicates failure, and so does any exception that might be thrown by your remote action.
Actions
You can evaluate responses of the following actions:
-
Using the Invoke Lambda Function action — Use the Invoke Lambda Function action to process Bamboo tasks and notifications, Jira workflow transitions and Jira Service Management automation rule executions with AWS Lambda, which lets you run code without provisioning or managing servers:
How-to Articles
Filter by label
There are no items with the selected labels at this time.
Frequently Asked Questions (FAQ)
Amazon Web Services™, AWS™ and the “Powered by Amazon Web Services” logo are trademarks of Amazon.com, Inc. or its affiliates in the United States and/or other countries.
Utoolity® is a registered trademark of Utoolity GmbH.
© 2024 Utoolity GmbH. All rights reserved.