Create 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 entities, such as a literal, constant, or variable, interconnected by zero or more operators. In Oracle Cloud Infrastructure Process Automation, you can also use outputs of other decisions or built-in functions to define an expression.

To create a decision with the Expression notation:
  1. Add a new decision element to the model.
    1. From the Diagram palette, under Decisions select Expression, and drag it onto the canvas.
    2. Double-click the element to edit its logic. You can also edit the expression's logic from the Decision Properties pane. Click the three dots on the element and select Edit to open the Decision Properties pane of the element. Click Edit Edit icon next to the Name field to edit its logic.
      Click Close Close icon to return to the canvas.
  2. In the Expression field, press Ctrl+Space to view a suggestion list. You can use any decision outputs, variables, functions, and keywords to form your expression.
  3. Changes you make within the decision model are automatically saved and validated from time to time. Errors and warnings, if any, are displayed within the decision panel.

Following are some examples of decisions created using simple expressions: