Class VariableGetOrDefaultExpressionFunction

java.lang.Object
org.flowable.common.engine.impl.el.function.AbstractFlowableVariableExpressionFunction
org.flowable.common.engine.impl.el.function.VariableGetOrDefaultExpressionFunction
All Implemented Interfaces:
FlowableFunctionDelegate, FlowableAstFunctionCreator

public class VariableGetOrDefaultExpressionFunction extends AbstractFlowableVariableExpressionFunction
Returns the value of a variable, or a default if the value is null. This avoids the PropertyNotFoundException that otherwise gets thrown when referencing a variable in JUEL.
Author:
Joram Barrez
  • Constructor Details

    • VariableGetOrDefaultExpressionFunction

      public VariableGetOrDefaultExpressionFunction()
  • Method Details