The CRM platform throws an error stating that it has identified an infinite loop. This usually happens after the number of iterations reaches a maximum of 8. We can fix this by adding a depth check at the start of our plugin code, just after we initialize each of the service objects.
The common method to avoid a recurring plugin is to check if a plugins depth > 1. This would stop the plugin from being run if was triggered from any other plugin. The plugin would only run if triggered from the CRM form.
Subscribe to:
Post Comments (Atom)
Featured Post
Nifty50 & Bank Nifty Impact – Tariffs, Fraud Case, AGR Update (Aug 26, 2025)
NIFTY50 IMPACT ANALYSIS Major Negative Pressures: Trump's 50% Tariff Bomb – Tariffs effective August 27, 2025 on Indian goods; 66%...
-
GST Questions and Answers Q51) How do you handle ITC on goods sent for job work? ...
-
Plugin Interview Questions: 1. Explain in details about the event execution pipeline. 2. When do we register a plugin in a...
-
GAC (Global Assembly Cache):- Plugin stored in GAC does not support Dynamics 365 Online. Plugin does not backed up with d...
No comments:
Post a Comment