Fail state

A Fail state terminates a branch of a flow and indicates that it has resulted in an error. ZIS will attempt to execute the flow again. See Flow states retry and error handling for more details on the retry strategy.

It cannot have a next property, as the flow execution has ended.

The text contained in the state's cause property will be visible in the integration logs. It can contain placeholders. This can be useful to guide users on what steps they can take to troubleshoot problems.

Do not include secrets or other highly-sensitive information in the cause property.

"Logs.Failed": {  "Type": "Fail",  "Error": "Failed to send message to Slack.",  "Cause": "Couldn't send message to the selected Slack channel because it could not be found.  Check that the channel exists, and your integration is configured with the correct channel name."}