use of org.kie.workbench.common.forms.model.FormModel in project kie-wb-common by kiegroup.
the class AbstractFormAdapter method migrate.
protected void migrate(FormMigrationSummary formSummary) {
info("Starting migration for Form [" + formSummary.getOriginalForm().getPath().getFileName() + "]");
FormModel formModel = extractFormModel(formSummary);
if (formModel == null) {
fail(formSummary, "Impossible to identify a valid Model for new form. This might mean that the form " + "has a reference to a missing Data Object or an unexisting BPM Process / Task");
return;
}
doCreateFormDefinition(formModel, formSummary);
info("Form succesfully migrated");
}
Aggregations