The following automatic variables are available in the Groovy logic elements:
Formula Nature | Availability | Variable | Data Type | Notes |
---|---|---|---|---|
Everywhere | Everywhere |
| PublicGroovyAPI | |
input | Map | Map of input values sent to the logic. | ||
out | Map | Map of values of previously calculated elements. | ||
| Calls a function defined in a different element of the logic. | |||
Deprecated: | Calls a function from a Groovy Library logic named __LIBRARY__. This call does not allow nesting of library calls. | |||
libs.<library name>.<element name>.<function name> | Calls a function from a Groovy Library logic of a given name. This call allows nesting of library calls. | |||
rebateAgreementHeader | Rebate record |
| Map | |
rebateAgreementEntitlementFilter |
| Map | ||
contractHeader | Only in ContractBuilder logic | cProcessor | ContractBuilder | |
quoteHeader | Only in Admin > Configuration > QuoteConfigurator > Quote Header Logics | quoteProcessor | QuoteBuilder | |
Only in Admin > Configuration > RebateManager > Rebate Agreement Template Logics | ratBuilder | RATBuilder | ||
rebateAgreementHeader | Only in Admin > RebateManager > Rebate Agreement Header Logics | raProcessor | RebateAgreementBuilder | |
rebateAgreement | IRebateRecordManager | rebateRecords | IRebateRecordManager | |
contractTermTypeFilter contractEntitlementFilter | contract | Map | ||
customerInputFilter productInputFilter sellerInputFilter | Customer input filter Product input filter Seller input filter | filterFormulaParam | String | String parameter value that can be passed from the builder, e.g.: api.inputBuilderFactory() |
customFormHeader | customFormProcessor | CustomFormCollectionBuilder | ||
calculationFlow | CalculationFlowActionBuilder | actionBuilder | CalculationFlowActionBuilder | |
distPACalc | dist | DistFormulaContext | ||
model model_calculation model_evaluation | Model | model | ModelEvaluationFormulaContext ModelParallelCalculationFormulaInitContext | |
WorkflowBuilderManager | workflow | WorkflowDTO | API for defining approval or watcher steps | |
submitter | Map | |||
quote pricegriditem rebateagreement One of
| Map | Document submited for an approval | ||
wfStepLogic | Post step |
| Map | Document being approvedsubmited for an approval |
workflowHistory | WorkflowInfo | API for getting the information on approval steps | ||
| InsertWorkflowStepsDTO | API to to add an additional approval or watcher step. |
...