Q:
You are implementing a feature for your company’s Microsoft Dynamics 365 finance and operations apps that requires handling events during the lifecycle of a business process.
You need to ensure that the application can respond to specific events without tightly coupling the event handlers to the business process logic.
What should you implement?
-
A
Create event handler classes and subscribe them to the appropriate delegates.
-
B
Use global variables to track the state of the business process and execute logic conditionally.
-
C
Implement a polling mechanism that checks for event conditions within the main process loop.
-
D
Embed the event response logic directly within the business process methods.
A