Since my entity inherits from File, I am using the Association & events method of auditing my entity. Despite following the steps in the documentation, my project won't compile. The error is - Microflow parameter 'AudittrailSuperClass' should be of type MyProject.MyEntity. Element: Property 'Microflow' of event handler of entity 'MyProject.MyEntity' Clicking on the error, Mendix takes me to Domain model of MyProject. Any idea what could be wrong?
You have a microflow that is set to the wrong entity.
Look at the input parameter of one of you microflows that is atteched to your domain model, probably on the event tab or as a calculated field.