Description:
Use this step for evaluating simple expressions
Inputs
- sourceValue – variable/global containing the source value
- selectOperator – select the operator
- targetValue – variable/global containing the target value
- variableToStore – variable/global to store the result
Returns
- True – step executed successfully
- False – step failed to execute
Usage:

Example:
Let’s build and execute the “simpleExpressionDef” example.
- Create a new definition called “simpleExpressionDef”
- Select the definition and click the “design” button
- Drag a “updateVariables, simpleExpression” steps from the toolbox
- Connect the dots between the Start and other steps as above
- Define a variable/global to store the source value, target value, and the result value

- Click the "updateVariables" step to configure its "Required" properties. Provide a name. Click the Save button.
- Click the "updateVariables" step to configure its "Optional" properties. Click the button to configure multiple variables. A popup window is displayed for configuration. Click the Add Row button to insert an empty row. Provide the variable name and value. Click the Save button. You may insert multiple variables and values using the Add Row button.

- Click the "simpleExpression" step to configure its "Required" properties. Provide a name to the step. Provide the variable/global reference to the source value. Provide the variable/global reference to the target value. Provide the variable/global reference to store the result. Click the Save button.

- Click the button to configure the operator. A popup window will appear, as shown below. Select the data type (number, string, or date). Select the operator from the drop-down list. The operator list is different for each data type. The expression list for the Number data type is below.

- The “Logging” setting configuration is necessary for documentation and also measures the workflow progress and the percent complete. This is achieved by configuring the step state and percent fields individually, as shown in the images below. Configure the “Logging” using the following properties.

- Save the process definition, create a new instance, and execute. Render the process instance. Click on the process step to view its properties. The step should evaluate the simple expression and place the result in the variable/global as configured.

Definition Sample:
You may download the ZIP file and extract the sample definition(s) from the link here. Then, you can later import it (drag-drop) to your FlowWright Process Definition (XML file) or Form Definition (HTML file) page.
NOTE: Please verify and complete the process steps for any missing configurations, such as file path references and database connections after import. Then, save the definition to confirm the changes.
Click here to download the sample file.