|
@@ -4,6 +4,7 @@ import com.fasterxml.jackson.databind.ObjectMapper;
|
|
import com.flow.flowable.converter.CopyServiceTaskXMLConverter;
|
|
import com.flow.flowable.converter.CopyServiceTaskXMLConverter;
|
|
import com.flow.flowable.converter.CustomServiceTaskXMLConverter;
|
|
import com.flow.flowable.converter.CustomServiceTaskXMLConverter;
|
|
import com.flow.flowable.converter.JumpServiceTaskXMLConverter;
|
|
import com.flow.flowable.converter.JumpServiceTaskXMLConverter;
|
|
|
|
+import com.flow.flowable.expression.VariableBetweenExpressionFunction;
|
|
import com.flow.flowable.expression.VariableContainsAllExpressionFunction;
|
|
import com.flow.flowable.expression.VariableContainsAllExpressionFunction;
|
|
import com.flow.flowable.parser.factory.CustomDefaultActivityBehaviorFactory;
|
|
import com.flow.flowable.parser.factory.CustomDefaultActivityBehaviorFactory;
|
|
import com.flow.flowable.parser.handler.CopyServiceTaskParseHandler;
|
|
import com.flow.flowable.parser.handler.CopyServiceTaskParseHandler;
|
|
@@ -49,6 +50,7 @@ public class FlowableConfigure implements EngineConfigurationConfigurer<SpringPr
|
|
engineConfiguration.setActivityBehaviorFactory(new CustomDefaultActivityBehaviorFactory());
|
|
engineConfiguration.setActivityBehaviorFactory(new CustomDefaultActivityBehaviorFactory());
|
|
List<FlowableFunctionDelegate> customFlowableFunctionDelegates = new ArrayList<>();
|
|
List<FlowableFunctionDelegate> customFlowableFunctionDelegates = new ArrayList<>();
|
|
customFlowableFunctionDelegates.add(new VariableContainsAllExpressionFunction());
|
|
customFlowableFunctionDelegates.add(new VariableContainsAllExpressionFunction());
|
|
|
|
+ customFlowableFunctionDelegates.add(new VariableBetweenExpressionFunction());
|
|
engineConfiguration.setCustomFlowableFunctionDelegates(customFlowableFunctionDelegates);
|
|
engineConfiguration.setCustomFlowableFunctionDelegates(customFlowableFunctionDelegates);
|
|
BpmnXMLConverter.addConverter(new JumpServiceTaskXMLConverter());
|
|
BpmnXMLConverter.addConverter(new JumpServiceTaskXMLConverter());
|
|
BpmnXMLConverter.addConverter(new CopyServiceTaskXMLConverter());
|
|
BpmnXMLConverter.addConverter(new CopyServiceTaskXMLConverter());
|