Logic Hook - Firing just once
Hello, I have implement a logic hook that send an email (based on this sugestion: http://www.redinkdesign.net/node/6) when an event occour.
I have a custom module called services, and I have to inform the responsible when a new service is created and only that. But if I use after_save logic hook it will send an email not only when a new service is created, but everytime its modified, and I dont want that.
Does anyone have an idea how to send only 1 email in this case?
Regards,
SugarCRM CE v.5.2.0c
Windows platform
MySQL v.5.0.37
phpMyAdmin - 2.11.2.2
Apache Server v.2.0
Bookmarks