A rule function is a function written in the BusinessEvents rule language. All rule functions created for a project are available project-wide.Rule functions can take arguments and can return a value. The return type can be set to void, indicating that the rule function does not return anything.You can use project settings to use rule functions as preprocessors (see Event Preprocessors and as startup and shutdown actions.A virtual rule function (VRF) has arguments but no body or return type. The implementation of a virtual rule function is a decision table. Business users can create decision tables in Decision Manager stand-alone business user interface. Decision tables can also be created in the BusinessEvents user interface.Users start by selecting a virtual rule function. They drag and drop entities from an argument explorer to form rows in a decision table. Each row forms a business rule, for example the condition area might specify that age is less than 18, and the action area might specify that credit is refused. More technical users can use the BusinessEvents rule language to create more complex rules.One VRF can have multiple implementations. You can set a priority that determines the order of execution for multiple implementations of a VRF. Functions are also available for choosing an implementation to execute (and other actions specific to decision tables). If there is just one implementation, you can call the virtual rule function in the same way you call any other rule function.
Copyright © TIBCO Software Inc. All Rights Reserved.