Hi everyone,
I have a page where I use the OnAfterGetCurrRecord trigger to perform some conditions based on the current record displayed on the page. However, I also have a functionality to clear all records on the page, as soon as I clear the records on the page.. it automatically closes the page.
Is there a way to prevent the OnAfterGetCurrentRecord trigger from executing when I clear all records on the page? Can I add a condition to a trigger that runs before it to prevent it from executing?
Any help or suggestions would be greatly appreciated. Thank you!