## 6.4.3.5. Formula Editor

To create the condition for the Inclusive or Exclusive gateway, users may need to use mathematical operators and process parameters. For simplicity, the Process Designer has a graphical tool for creating condition - Formula Editor. You can create conditions using Mathematical operators and Business Objects. Formula Editor tool is shown when user creates a condition of link out of an Inclusive or an Exclusive gateway, or when user creates condition for parameter mapping.

### How to use?

Formula Editor panel has Mathematical Objects and Business Objects for setting condition. User can drag a mathematical object or a business object to Formula Panel to create condition.

Mathematical Objects consists of mathematical symbols are as follows.

+ operator used to add two values.

- operator used to subtract two values.

x operator used to multiply two values.

/ operator used to divide two values.

== operator used to compare two values to check they are equal.

!= operator used to compare two values that are not equal to.

N This Character is used to add a value to a condition. User can set N to either text or numbers. If the user want N to be a string value then user should set it as "XXX" or if user wants N

to be a number then user should set it to X.

( is to start parentheses.

) is to end parentheses.

> operator used to compare two values for greater than.

>= operator used to compare two values for greater than or equal to.

< is the operator used to compare two values for less than.

<= operator used to compare two values for less than or equal to.

&& logical operator used to compare two value by AND logic.

|| logical operator used to compare two value by OR logic.

Business Objects can have different parameters. Business Objects is used to pass the input and output parameters to the process Activity Nodes.

When the user creates condition successfully, system would show condition at the bottom of Formula Panel, and user can review and click on Save button to save condition.