Examples of ConditionDefinition


Examples of org.activiti.workflow.simple.definition.ConditionDefinition

      if(stepDefinition.isEndProcessOnReject()) {
        rejectStepList.addStep(new AlfrescoEndProcessStepDefinition());
      }

      // Make choice condition based on review outcome
      ConditionDefinition condition = new ConditionDefinition();
      condition.setLeftOperand(getCountVariableName(id, namespacePrefix));
      condition.setOperator("<");
      condition.setRightOperand(getRequiredCountVariableName(id, namespacePrefix));
      rejectStepList.setConditions(Arrays.asList(condition));
      choice.addStepList(rejectStepList);

      // Add default (empty) choice for approval AFTER the review-one
      ListConditionStepDefinition<ChoiceStepsDefinition> defaultStepList = new ListConditionStepDefinition<ChoiceStepsDefinition>();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.