Configure Expressions

An expression is a logical notation, defined according to the syntax of FEEL, that evaluates to a single value. It may consist of one or more operands (such as literals, constants, or variables) and zero or more operators.

In Oracle Integration, you can use input variables, outputs of other decisions, or built-in functions to define an expression.

To add an expression decision to the canvas and define its properties, see Add Decisions.

Follow these steps to configure the decision's logic:

  1. Double-click the expression node to access its logic editor.
    Alternatively, select the node, and click Edit or View Decision Logic icon on the sidebar.
  2. Click the Enter Expression field to view a suggestion list, containing decision outputs, variables, functions, and keywords.
  3. Define an expression using the suggestions or write your own. Use the FEEL syntax. See About Friendly Enough Expression Language.
  4. To reuse the entire logic definition in another decision, cut or copy it and paste it into the desired decision. Click Options icon in the header and select the required action.
Changes you make within the decision model are automatically saved and validated. Errors and warnings, if any, are displayed in the editor. Click the error or warning icon to review and fix them. See Review and Fix Errors in a Decision.

Here are a few examples of simple expressions:

  • This expression evaluates an applicant's age. If the age property of the variable applicant is less than 70, the output of the decision is true, else it is false.

    The image shows an Expression decision called Age. The value entered in the expression field is applicant.age<70.

  • This expression calculates the area of a circle using a constant and an input variable, radius.

    The image shows an Expression decision called Area. The value entered in the expression field is 3.14*radius*radius.