Package org.activiti.engine.impl.persistence.entity

Examples of org.activiti.engine.impl.persistence.entity.ExecutionEntity.start()


        ExecutionEntity processInstance = this.createProcessInstance(
                historicProcessInstanceEntity.getId(), businessKey, initiator,
                processDefinition);

        // start
        processInstance.start();

        return null;
    }

    public ExecutionEntity createProcessInstance(String processInstanceId,
View Full Code Here


      .reportFormPropertiesSubmitted(processInstance, properties, null);
   
    StartFormHandler startFormHandler = processDefinition.getStartFormHandler();
    startFormHandler.submitFormProperties(properties, processInstance);

    processInstance.start();
   
    return processInstance;
  }
}
View Full Code Here

    if (processVariables != null) {
      processInstance.setVariables(processVariables);
    }
   
    processInstance.start();
   
    return processInstance;
  }

}
View Full Code Here

    // now set processInstance name
    if (processInstanceName != null) {
      processInstance.setName(processInstanceName);
    }
   
    processInstance.start();
   
    return processInstance;
  }
}
View Full Code Here

    if (processVariables != null) {
      processInstance.setVariables(processVariables);
    }
   
    processInstance.start();
   
    return processInstance;
  }

}
View Full Code Here

      .reportFormPropertiesSubmitted(processInstance, properties, null);
   
    StartFormHandler startFormHandler = processDefinition.getStartFormHandler();
    startFormHandler.submitFormProperties(properties, processInstance);

    processInstance.start();
   
    return processInstance;
  }
}
View Full Code Here

          Map<String, Object> variables = (Map<String, Object>) payload;
          processInstance.setVariables(variables);
        }
      }
     
      processInstance.start();
    } else {
      throw new ActivitiException("Invalid signal handling: no execution nor process definition set");
    }
  }
View Full Code Here

    // Start the process instance
    ExecutionEntity processInstance = processDefinition.createProcessInstance(businessKey);
    if (variables!=null) {
      processInstance.setVariables(variables);
    }
    processInstance.start();
   
    return processInstance;
  }
}
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.