Evaluating conditions with action response format
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:
1
2
3
4
{
'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: