Types of Branch Conditions

TIBCO Cloud Integration - Flogo (PAYG) supports multiple types of branch conditions.

You must select one of the following conditions during branch creation:
  • Success

    A success branch gets executed whenever an activity executes successfully. If there is an error in the activity execution, this branch does not execute. The branch has no conditions set in it.

  • Success with condition

    Select this condition type, if you want a branch to execute only when a particular condition is met. If you select this condition and do not provide the condition, the branch never gets executed.

    You can form an expression using anything available under upstream activity outputs and functions available which should evaluate to a boolean result.

  • Success with no matching condition

    This branch condition is displayed only when you already have an existing Success with condition branch.

  • Error

    A branch with this condition executes if there are errors in the execution of the activity. An activity can have only one Error branch.

    Details of the error, such as the activity and the type of the error message, are returned in $error. For example:

    The Error branch flow differs from the error handler flow in that the error branch is designed to catch exceptions at the activity level from which it originates, whereas the error handler flow is designed to catch exceptions that occur in any activity within the flow. So, if you handle the errors by creating an error branch at the activity level, the flow execution control never transfers to the error handler flow.