For Java External API Application Rule:

This Application Rule is used to call Java External API in your process flow. You need to specify the Class Name and the method of the API.

 

Field Name

Description

Name

Enter a unique name for the Application Rule.

Rule Type

Select the Rule Type from the drop-down list. The Java External API 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 JAVA External API.

Class Name

Enter the complete java class name which implements the Business Logic.

Method

Enter the method which you want to execute.

Input Parameters

You can pass Input Parameters for the method using Data Fields. Select the required Data Fields from the drop-down list.

Return Parameters

Select the Data Field which will store the Return Parameter of the method, from the drop-down list.

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.

 

NOTE

1.      The class and its dependent file (or jar) need to be available in webcontainer classpath.
For example, <TOMCAT_HOME>/webapps/<context>/WEB-INF/lib/<forecast.jar>

2.     For details on the supported API's for using as Java External APIs, see Appendix B.