Logic Hook Question
I am calling a save function from a logic hook I have called from a Meetings object. My question is - won't it recursively call my logic hook over again once I call the save function? Here is an example of what I am doing:
1. In the meetings I have a logic hook for the "before_save"
2. In my logic hook I am creating a new instance of the meeting object. WIth this object I am saving a new record.
3. Obviously, once this saves it will call my logic hook again and go through the same cycle.
How can I avoid this? I need to use the Meetings object or resort to just doing a manual sql insert which would be the sloppy way of doing it.
Any suggestions?
Scott Whitlow
Lead Software Engineer/SugarCRM Developer
swhitlow at gmail.com
Indianapolis, IN. USA
Bookmarks