Error- invalid step in path during schemaobject retrieval

Users have reported these errors that occur during the execution of Generate document in the Flow Execution Panel.

Symptom

Cause

When creating a document from a certain template, an error displays with the message "Error- Problem during compilation com.invenso.xbi.common.exceptions.SchemaException: Invalid step in path during schemaobject retrieval: /Contact in expression /Incident/CustomerId/Contact/Suffix"

This error is due to an invalid mapping in the template, which is most likely due to a missing field in the data set. This usually happens when CRM fields (that are mapped in the template) are removed or renamed.