Expression Application Rule

This is the same as the SQL execution type. You need to specify only the where clause in the Expression field. It can be any SQL expressions including ‘AND’/ ‘OR’.

Figure 4-12 Expression Rule Details window


This image displays the Expression Rule Details window,

Table 4-8 Expression Rule Details Description

Field Name Description
Name Enter a unique name for the Application Rule.
Rule Type Select the Rule Type from the drop-down list. The Expression Application Rule can be used as a Decision Rule, Execution Rule, or Selection Rule based on your requirement.
Execution Type Displays the Application Execution Type as Expression.
Expression Type Select Expression Type as SQL to use SQL expressions or JSON to use JSON expressions.
Expression Enter the expression in SQL format or JSON format.
Return Parameter

Select the Data Field that receives the return parameter of the Expression, from the drop-down list.

  • For Execution Rule type, the business logic is implemented in the method and the parameter value returned from the Application Rule is saved in the mapped Data Field.
  • In the case of Selection Rule type, the Application Rule should be a String value.
  • In the case of the Decision Rule type, the Application Rule should return Boolean values “True/False”.
Scope Select the Scope as Process to use the Application Rule only in the current process or Package to use the Application Rule across all the processes in the package.