processDefinition.setStartFormKey(true);
}
}
public StartFormData createStartFormData(ProcessDefinitionEntity processDefinition) {
StartFormDataImpl startFormData = new StartFormDataImpl();
if (formKey != null) {
startFormData.setFormKey(formKey.getExpressionText());
}
startFormData.setDeploymentId(deploymentId);
startFormData.setProcessDefinition(processDefinition);
initializeFormProperties(startFormData, null);
initializeFormFields(startFormData, null);
return startFormData;
}