Hello Everyone
I am facing an issue with the audit log in before save hook.
I have a field that is enabled for the audit log. In before save logic hook I am throwing an exception on specific conditions in which data is not getting saved but still audit log is getting created so I have to avoid this audit log being created when the data is not saved.
I have checked that no other code is affecting this in other logic hooks and record.js files.
Thanks in advance