Examples of ScriptCondition


Examples of org.camunda.bpm.engine.impl.scripting.ScriptCondition

        condition = new UelExpressionCondition(expressionManager.createExpression(expression));
      }
      else {
        try {
          ExecutableScript script = ScriptUtil.getScript(language, expression, resource, expressionManager);
          condition = new ScriptCondition(script);
        }
        catch (ProcessEngineException e) {
          addError("Unable to process condition expression:" + e.getMessage(), conditionExprElement);
        }
      }
View Full Code Here

Examples of org.camunda.bpm.engine.impl.scripting.ScriptCondition

        condition = new UelExpressionCondition(expressionManager.createExpression(expression));
      }
      else {
        ExecutableScript script = parseScriptDefinition(language, resource, expression);
        if (script != null) {
          condition = new ScriptCondition(script);
        }
      }
      seqFlow.setProperty(PROPERTYNAME_CONDITION_TEXT, expression);
      seqFlow.setProperty(PROPERTYNAME_CONDITION, condition);
    }
View Full Code Here

Examples of org.huihoo.workflow.xpdl.condition.ScriptCondition

          if (attribute != null)
          {
            ConditionType ctype = ConditionType.parse(attribute.getValue());
            if (ConditionType.CONDITION_SCRIPT.equals(ctype))
            {
              transition.setCondition(new ScriptCondition(condition.getContent()));
            }

            transition.removeExtendedAttribute(XPDLGlobals.CONDITION_TYPE);
          }
        }
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.