public interface VariableAggregator
| Modifier and Type | Method and Description |
|---|---|
Object |
aggregateMultiVariables(DelegateExecution execution,
List<? extends org.flowable.variable.api.persistence.entity.VariableInstance> instances,
VariableAggregatorContext context)
Aggregated the provided variable instances into one variable value.
|
Object |
aggregateSingleVariable(DelegateExecution execution,
VariableAggregatorContext context)
Create a single variable value based on the provided aggregation definition.
|
Object aggregateSingleVariable(DelegateExecution execution, VariableAggregatorContext context)
execution - the delegate execution from where we need to get data fromcontext - the aggregation contextObject aggregateMultiVariables(DelegateExecution execution, List<? extends org.flowable.variable.api.persistence.entity.VariableInstance> instances, VariableAggregatorContext context)
execution - the delegated execution for which we need to do the aggregationinstances - the variable values that should be aggregated (these variables are created based on the value from aggregateSingleVariable(DelegateExecution, VariableAggregatorContext))context - the aggregation contextCopyright © 2022 Flowable. All rights reserved.