A company implementsDynamics 365 Customer Service. The company deploys synchronous plug-ins for the PreOperation and PostOperation stages on create and for the PostOperation stage on update for processing different case type.
Users experience errors when updating cases. The plug-in trace log files show that the PostOperation plug-in update of case times out after two minutes.
You perform basic testing and discover that this plug-in is triggered on every update of a case. You examine the code and discover that the plug-in retrieves all columns for the updated case record performing its work.
You need to reduce the number of errors. You need to achieve this goal with the test amount of changes.
Solution:
* In the Plug-in Registration tool, add a post Image to the plug-in step and include the
Fields that the plug-in needs.
* Remove the retrieves statement from the plug-in code and reference the post image.
Does the solution meet the goal?
Currently there are no comments in this discussion, be the first to comment!