MpAudit stopped working after the migration from AS4.12 to AS6.7


After migrating from AS4.12 to AS6.7, MpAudit stopped working.
The MpAuditTrail block is enabled, but it is not capturing events where values ​​in programming fields are changed.
I would like to know if any specific procedure is required after the migration from AS4.12 to AS6.7 to get MpAudit working again.

Thank you in advance.

Hi Adilson, and welcome to the Community!

There is some documentation in the AS Help about migrating mappServices from AS 4 to 6. There is also a Community-built migration tool to assist with migrating projects.

In order to give you better advice, it would help if you’re able to provide more information. Are you getting an errors on the function block or in the mappServices logger?


I don’t have any errors in FUB.

The “Audit” function worked correctly before the migration to AS6.

Hi Adilson,
How do you determine which variable values to monitor?
If you are using the opcua monitoring then you need to make sure the auditing server facet is enabled.
You will also need a user with the BR_Engineer role assigned to view them.
If instead you had the variables specified in the MpAuditTrail Configuration, check the VariableMonitorList section to make sure they did not get deleted during migration.
If you used the RegPar function blocks, then I do not know of any necessary changes during migration but we can investigate it further.