Package com.axelor.workflow.expression
Class WorkflowScriptScope
java.lang.Object
com.axelor.workflow.expression.WorkflowScriptScope
The run-independent helper bindings shared by every workflow script. Node-specific bindings
(
self, vars, save(), event, old, parent) stay
with their call sites in WorkflowRunContext. Helpers use bare, unlikely-to-collide names,
since they shadow a model field of the same name.-
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddHelpers(ScriptBindings bindings) Adds the helpers available to every workflow script:log:log.debug/info/warn/error(...)to the workflow script logger.
-
Method Details
-
addHelpers
Adds the helpers available to every workflow script:log:log.debug/info/warn/error(...)to the workflow script logger._t:_t(key)translates;_t(key, a, b, ...)also formats withMessageFormatplaceholders.
-