You are extending Dynamics 365 Customer Service by creating a custom entity to track equipment repairs. You need to ensure that when a repair record is created, the associated case is automatically updated with the repair status. The update must happen in real-time and be visible immediately on the case form. What should you implement?
A synchronous plugin runs in real-time within the same transaction as the Create operation. It can update the case record immediately, ensuring that the change is visible on the case form without delay. This meets the requirement for real-time visibility. Synchronous plugins are executed before the platform returns the response to the user, so the update is instantaneous.
Why this answer
A synchronous plugin is the only option that executes in real-time within the same transaction, ensuring the case is updated immediately. Asynchronous plugins and Power Automate flows introduce delays, and business rules cannot update related entities. Therefore, the synchronous plugin is the correct choice.
Exam trap
The trap here is assuming that Power Automate or asynchronous plugins can provide real-time updates, when only synchronous plugins run within the transaction.