Examples of CmmnExecution


Examples of org.camunda.bpm.engine.impl.cmmn.execution.CmmnExecution

public abstract class ProcessOrCaseTaskActivityBehavior extends TaskActivityBehavior implements TransferVariablesActivityBehavior {

  protected CallableElement callableElement;

  protected void performStart(CmmnActivityExecution execution) {
    CmmnExecution caseExecution = (CmmnExecution) execution;

    List<CallableElementParameter> inputs = callableElement.getInputs();
    Map<String, Object> variables = getVariables(inputs, caseExecution);

    String businessKey = callableElement.getBusinessKey(caseExecution);

    triggerCallableElement(caseExecution, variables, businessKey);

    if (caseExecution.isActive() && !isBlocking(caseExecution)) {
      caseExecution.complete();
    }

  }
View Full Code Here

Examples of org.camunda.bpm.engine.impl.cmmn.execution.CmmnExecution

  public void setCallableElement(CallableElement callableElement) {
    this.callableElement = callableElement;
  }

  protected String getDefinitionKey(CmmnActivityExecution execution) {
    CmmnExecution caseExecution = (CmmnExecution) execution;
    return getCallableElement().getDefinitionKey(caseExecution);
  }
View Full Code Here

Examples of org.camunda.bpm.engine.impl.cmmn.execution.CmmnExecution

  protected CallableElementBinding getBinding() {
    return getCallableElement().getBinding();
  }

  protected Integer getVersion(CmmnActivityExecution execution) {
    CmmnExecution caseExecution = (CmmnExecution) execution;
    return getCallableElement().getVersion(caseExecution);
  }
View Full Code Here

Examples of org.camunda.bpm.engine.impl.cmmn.execution.CmmnExecution

    CmmnExecution caseExecution = (CmmnExecution) execution;
    return getCallableElement().getVersion(caseExecution);
  }

  protected String getDeploymentId(CmmnActivityExecution execution) {
    CmmnExecution caseExecution = (CmmnExecution) execution;
    CmmnCaseDefinition definition = caseExecution.getCaseDefinition();
    if (definition instanceof CaseDefinitionEntity) {
      CaseDefinitionEntity caseDefinition = (CaseDefinitionEntity) definition;
      return caseDefinition.getDeploymentId();
    }
    return null;
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.