Function Application Rule

This Application Rule is used to call Database functions in your Process Flow.

Figure 4-8 Function Application Rule Details window


This image displays the Function Application Rule Details window.

Table 4-4 Function Application 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 available rule types are Decision Rule, Execution Rule, and Selection Rule.
Execution Type Displays the Application Execution Type as Function.
Function Name Enter the Function Name.
Input Parameters Select the list of Data Fields which will be passed as input parameters, from the drop-down list.
Parameter Mode

Enter the Parameter Mode in JSON format. For example, suppose you have given 3 parameters as input parameters, enter parameter mode as [“IN”,”IN”,”OUT”].

During Execution of Function,

  • In the case of the Decision Rule type, the first return parameter should return the value ‘PASS’ for success evaluation.
  • In the case of Selection Rule type, the first return parameter value is taken as Selection data.
  • In the case of the Execution Rule, the procedure return OUT parameter value overwrites the current value of the respective mapped Data Field.
Return Parameter

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

  • For Execution Rule type, the business logic is implemented in the method and the parameter value returned from the Java method is saved in the mapped Data Field.
  • In the case of Selection Rule type, the Java method should be a String value.
  • In the case of the Decision Rule type, the Java method 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.