When attempting to import data using ModelBuilder with a field mapped to a model field that has enumerated values (a limited list of available choices, like "Open" and "Closed" for pipe status for example), the following red error occurs at the end of the "Sync in" process:
"Unable to assign attribute ... for element because enumeration value ... is not valid."
First, in the Field Mapping section of the ModelBuilder setup, ensure that you choose the "label" field and not the "ID". for example for the WaterGEMS/WaterCAD "Status (Initial)" property, be sure to map to the "Status (Initial) (Label)" and not "Status (Initial) (ID)".
Next, ensure that the values exactly match the possible choices available in the model. In addition, the value is case sensitive. Using the same example of "Status (Initial)", be sure to use "Open" and "Closed" for the values in the data source (both have the first letter capitalized.) In another example for the storm and sewer products, the "Section Size" values should be "Circle", "Box", etc.
Building a model using ModelBuilder