You can add multiple custom function JAR files (see Task D) but only functions provided in the JAR file specified in the FUNC_JAR property (see Task B), display in the Custom Functions view. (You can use functions from additional custom function JAR files by entering them manually.)
1. Create the custom function or functions. See TIBCO BusinessEvents Language Reference for guidelines.
2. Place the JAR file containing the custom function or functions in a directory in the code generation classpath.The custom functions provided in the JAR specified by the FUNC_JAR property appear in the custom functions view in the Decision Manager UI. You can specify only one JAR file in this property.
1.
2. Add the FUNC_JAR property and provide the fully-qualified path to the JAR file. This property takes only one JAR file as its value. For example:Task C (For Multiple JARs only) Update the Decision Manager Extended Classpath and Set Tester LevelIf you have only one custom function JAR file, skip this step. (The property FUNC_JAR performs this task, but only for one JAR.) If you have multiple custom function JARs do the following:
1.
2. Add the fully qualified path to the custom functions JAR files in the bui.extended.classpath property. For example:bui.extended.classpath=C:/custom/customfunctions.jar; c:/custom/morefunctions.jar
3. Set the bui.tester.engine.feature.level property to local or full. See Configuring Project Tester Options.Task D Add the Custom Function JAR Path to the Decision Manager File Code Generation Property
1.
2. Add the fully qualified path to the custom functions JAR files in the tibco.bui.codegen.prepend_classpath property. For example:tibco.bui.codegen.prepend_classpath=C:/custom/customfunctions.jar; c:/custom/morefunctions.jar
1.
2. Add the fully qualified path to the custom functions JAR to the tibco.env.CUSTOM_EXT_PREPEND_CP property. For example:
Copyright © TIBCO Software Inc. All Rights Reserved.