if(flowElement instanceof StartEvent) {
StartEvent startEvent = (StartEvent) flowElement;
if(startEvent.getFormKey() == null) {
Module module = AlfrescoConversionUtil.getExtension(conversion).getModules().get(0);
Configuration detailsForm = module.addConfiguration(EVALUATOR_STRING_COMPARE,
MessageFormat.format(EVALUATOR_CONDITION_ACTIVITI, conversion.getProcess().getId()));
// No form-key is set, either use the default or generate of start-form if this
// is available
if(conversion.getWorkflowDefinition().getStartFormDefinition() != null