In the second of our two-part Microsoft Power Virtual Agents series, we examine the difference between Chatbots and Intelligent Chatbots, and how AI can elevate chatbot capabilities and improve user experience.
When the circumstance occurs to check when an Opportunity is Close as Won you can validate the execution of this message with a plugin using the Win message. Today's blog will show you how to do this!
You then fill out the request and a Win message will be sent to the execution pipeline.
You can write a plugin to capture the execution of this message to do any pre or post validation as needed.
The Win message contains an input parameter of OpportunityClose which you can use to obtain a reference to the Opportunity Id of the record being processed.
You may expect to register a Step using the Plugin Registration tool as 'Won' but it is instead a 'Win' as shown below.
There you have it. You can now validate the Opportunity being Close As Won and do any validation that is needed.
For more tips and tricks, make sure that you have subscribed to our blog.
Happy Dynamics 365'ing!