use of org.camunda.bpm.engine.impl.form.StartFormDataImpl in project camunda-bpm-platform by camunda.
the class MyStartFormHandler method createStartFormData.
public StartFormData createStartFormData(ProcessDefinitionEntity processDefinition) {
ProcessEngineConfigurationImpl processEngineConfiguration = Context.getProcessEngineConfiguration();
IdentityService identityService = processEngineConfiguration.getIdentityService();
RuntimeService runtimeService = processEngineConfiguration.getRuntimeService();
logAuthentication(identityService);
logInstancesCount(runtimeService);
StartFormDataImpl result = new StartFormDataImpl();
result.setProcessDefinition(processDefinition);
return result;
}
use of org.camunda.bpm.engine.impl.form.StartFormDataImpl in project camunda-bpm-platform by camunda.
the class DefaultStartFormHandler method createStartFormData.
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;
}
Aggregations