Skip to main content

Try/Catch

Handles errors during workflow execution. It attempts to execute a block of actions and gracefully catches and processes any exceptions that occur.

Category: Flow Control & Logic · Group: Flow Control · Activity name: TryCatch

The TryCatch activity in the designer

Example

try:
response = HttpRequest("https://api.example.com", "GET")
except Exception as error:
WriteLine(error)

Outputs

NameTypeDescription
outputVariablestringSpecifies the name of the variable that will store the exception if occuring.

Branches

  • tryBranch
  • catchBranch