Library Logic
You will use a Library logic when you need to:
Create reusable functions, which can be called from other logics.
Logic API
Logic Nature: library
Logic Type: Calculation/Pricing
Execution Types:
The same as the calling logic, so all of the following will be the same as in the calling logic:
Mode (Input Generation or Standard)
Element group/context
Phase
Allow object modifications
Information provided to the logic:
The same as the calling logic, i.e. the same:
Binding variables
Context information
Current item
Expected logic execution outcome:
From Input Generation mode - build input fields definitions.
From Standard mode:
Result of elements - It can be used/consumed only inside the library logic, as it will not get out of the library logic.
Set alerts, add warmings, raise exceptions.
Code Sample
Found an issue in documentation? Write to us.
Â