Calling a Rule from an Extended Rule Library in a Map
You can call a rule from any extended rule library (that is currently checked in to the Sterling B2B Integrator) in any extended rule in your map. The syntax you use to call a rule from a library is:
call library_name.rule_name(parameter1, parameter2, parameter3)
In this syntax, library_name is the name of the extended rule library. For example, if the library is SWIFT_2012.erl, the library_name is SWIFT. The rule_name is the name of the rule that you defined in the Library Rule dialog box. There is no limit on the number of parameters you can use.
Note: You can have multiple rule libraries with the
same name and different version numbers, but you can only use one
rule library of the same name in a map (the last version of that rule
library that was checked in to the system).
The syntax you use to call a rule with a return value set is:
integer i;
i = call library_name.rule_name parameter1
In this syntax, i is the return value set.