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
questions for improvement
using ExamTopics; using Newtonsoft.Json; using Microsoft.Web.WebView2.WinForms; using System; using System.Collections.Generic; using System...
-
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...
-
When we created a new entity in CRM, we have to option for “ownership” as “User or Team” and “Organization”. Below are the main differences ...
No comments:
Post a Comment