Customizing the function handlers of the Omni-Configurator and Visual Modeler repository
You can customize the function handlers in the repository that is shared between the Visual Modeler and the IBM® Sterling Configurator.
About this task
The function handler classes are Java classes that are used to define custom functions that can be invoked by the Omni-Configurator rule engine.
The base function handlers that are provided in the application are defined in the functionHandlers.properties configuration file that is located in the configurator.war/WEB-INF/lib/cmgt-configurator.jar file. The configuration file contains the name of the function handlers and the directory in which the function handler classes are located.
Example of a functionHandlers.properties
file:
WEB-INF/classes/com/comergent/apps/configurator/functionHandlers=
CheckLookupFunctionHandler,ChildSum,ChildCount,CountFunctionHandler,IsSelectedHandler,
LengthFunctionHandler,ListFunctionHandler,LookupFunctionHandler,
MaxFunctionHandler,MinFunctionHandler,ParentFunctionHandler,
PropValHandler,StringValue, SumFunctionHandler,ValueFunctionHandler,WebServiceLookup
CheckLookupFunctionHandler=
com.comergent.apps.configurator.function-Handlers.CheckLookupFunctionHandler
Procedure
Example
OrganizationCode = matrix
MaxFunctionHandler =
com.comergent.apps.custom.configurator.functionHandlers.MaxFunctionHandler
.