For Function Application Rule:

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

 

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 case of Decision Rule type, the first return parameter should return value ‘PASS’ for success evaluation.

·       In case of Selection Rule type, the first return parameter value is taken as Selection data.

·       In case of Execution Rule, the procedure return OUT parameter value overwrites the current value of respective mapped Data Field.

Return Parameter

Select the Data Field which will receive the return parameter of the Java function, from the drop-down list.

·       For ExecutionRule 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 case of SelectionRule type, the Java method should be a String value.

·       In case of DecisionRule 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.