When to create Plug-in and when to write custom workflows in Dynamics 365 CRM?
- Plug-ins are event handlers and are fast. If system performance is your priority then use Plug-ins.
- Workflows can perform limited functions like triggers on create, update, read, delete. If there are certain other functions, that you want to perform then use Plug-ins. For example, when you share a record with someone, perform an action – this will be faster through Plug-ins
- Workflows can be on demand, however Plug-ins are automatic. Which means, that if the condition is met, Plug-ins will run automatically. While you can create on demand workflows, which will trigger by a human manually.