How to prevent after retrieve logic hook from executing more than once. I tried session variables, static variable for locking but of nothing happened.
I'm having a similar issue using my logic hook in the leads modules at after_save event. I get running about 8 times after the event occurs. Any ideas why this is occuring and how do we get it run only once?
This makes debugging even harder as having it run multiple times means you have to follow it though multiple times.