}
protected void addFieldReference(Form form, String formSet, ReferencePropertyDefinition definition,
M2Type contentType, WorkflowDefinitionConversion conversion) {
if (form.isStartForm()) {
throw new AlfrescoSimpleWorkflowException("Field references cannot be used on start-forms");
}
// Check if model contains an aspect for the property
String propertyName = getPropertyName(definition, conversion);