Dynamics 365 plugin development – How to avoid infinite loops

In some scenarios, it is necessary to develop a custom plugin assembly that is called from Dynamics 365 Workflow. Within the plugin source code, there are different ways to handle the data that is passed to the plugin by the execution context. However, if the entity object fetched from the plugin context is used to update the entity back to Dynamics, caution should be taken to avoid infinite loops in the workflow that got triggered in the first place.

In this screen cast video, I show you this scenario in detail and how to avoid the infinite loop.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *