This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Event method callilng itself infinitely

handpuppet - Friday, October 23, 2015 9:49 AM:

I have an onInsertRow event method on a RelationshipType AB.  When the event method runs, it runs an AML script for modifying two properties on ItemType B which is related to RelationshipType AB.  When I do the applyAML() statement, the onInsertRow event method of RelationshipType AB fires itself from the top again, and it repeats this behavior an infinite number of times.

I did check the events for ItemType B.  It has an event for onBeforeUpdate, and I checked this code and it does not do anything that should trigger the event method for RelationshipType AB.  Any ideas as to why this behavior is occurring?  It's almost like a postback in ASP.NET or something that I need to stop.

Very frustrating issue.  Any help greatly appreciated.