Class WorkflowConditionEvaluator.Batch

java.lang.Object
com.axelor.workflow.expression.WorkflowConditionEvaluator.Batch
All Implemented Interfaces:
AutoCloseable
Enclosing class:
WorkflowConditionEvaluator

public final class WorkflowConditionEvaluator.Batch extends Object implements AutoCloseable
Answers many predicates in one sandbox realm; a fresh realm's first evaluation pays the JS builtins' lazy setup.

Items in a batch share a realm that cannot be reset, so batch only work that already belongs together (one save event, one subflow's items, one claim), never across records, tenants or definitions. Not thread-safe.