A Ruleset Method, like a Composite Rule, is used to group rules. An important difference, however, is that the method includes Type parameters which correspond to data types in the source and target of the Ruleset. Methods can also be re-used within the Ruleset, thereby providing better maintainability.
- Methods can be called as either a simple rule or as a Case in Switch Rules.
- Method parameters are defined as input.
- Methods must be created and defined in the Ruleset that they are being used.
The Methods panel, shown here, is available from the Ruleset editor and displays any Method created for a particular Ruleset. Methods can be created, called, edited, and deleted from this panel.