I have a fairly simple eventsubscriber that watches the Job table, and onBeforeModify updates a field. The problem is, when this field is updated, the eventsubscriber enters a state of recursion. I recollect there was a way / flag to prevent this, but am not seeing anything.
EventSubscriber Modifies a Record when OnBeforeModify - how do I prevent recursion?
Hi,
I don't think there is a flag to stop recursion. BC usually throws an error on runtime if the code is recursive. You might want to double check your code for any accidental recursion.
Regards,
Ram Pranav.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.