use of org.camunda.bpm.engine.impl.persistence.entity.util.FormPropertyStartContext in project camunda-bpm-platform by camunda.
the class ExecutionEntity method startWithFormProperties.
public void startWithFormProperties(VariableMap properties) {
provideTenantId(properties);
if (isProcessInstanceExecution()) {
ActivityImpl initial = processDefinition.getInitial();
ProcessInstanceStartContext processInstanceStartContext = getProcessInstanceStartContext();
if (processInstanceStartContext != null) {
initial = processInstanceStartContext.getInitial();
}
FormPropertyStartContext formPropertyStartContext = new FormPropertyStartContext(initial);
formPropertyStartContext.setFormProperties(properties);
startContext = formPropertyStartContext;
initialize();
initializeTimerDeclarations();
fireHistoricProcessStartEvent();
}
performOperation(PvmAtomicOperation.PROCESS_START);
}
Aggregations