Infinite trigger of update titleblock event
Hi All,
I am facing an issue with the update titleblock event. We have configured a PX on change requests, where some attributes are to be auto populated. The event seems to be triggered continuously. Has anyone faced similar issues? Any input is greatly appreciated.
We are using Agile 9.3.3
Update Title Block is a dangerous trigger. You can get into an infinite loop: an update triggers the px, that updates a field which triggers the PX…. etcetera. You can check the list of dirty attributes to see if any are fields you are interested in. That usually keeps an infinite loop from happening. Also, there is a Preference setting (trigger levels) that will keep an infinite loop from occurring.
Even if you get to the point where you no longer create an infinite loop, that kind of trigger is still dangerous. All it takes is a mass update from an Import to trigger the PX a massive number of times. Its a mess. I have since tried to stay away from Title Block Update triggers.
MG
Converted the Pre event to Post and it helped.