Between Elements of the Same Logic

In one and the same logic, e.g., pricing logic, you can refer to a constant (e.g., parameter name) in previous elements like this:

This works since the static strings defined in the Params element are accessible from subsequent elements in the same logic.

Between Elements of Different Logics

However, if element Params was defined in a Groovy library – not an unusual use case if the parameter names are to be shared across multiple logics – then the above scheme no longer works.

There is, however, a way to make it work.  Say you define a Groovy library named 'PO'.  Within that library you define a Params element, but this time:

Author