Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2021 Release Wave 2Discover the latest updates and new features releasing from October 2021 through March 2022.
2021 release wave 2 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
How can I enable a dynamics c# plugin when a specific value is chosen from an options set?
For example: I have an option set that contains the values red, blue, and green. I want the plugin to start working when the user chooses blue and do nothing otherwise.
plugin will be always triggered if you set it when the field is updated.
inside the plugin code you will write the code to only execute the relevant part is a specific option is selected.
No other way
You cannot do this for a specific value. You can use the filter for that optionset field and use pre-image to get the previous value. You have to maintain the specific value logic in your code.
I think you can achieve specific value triggers by Power automate.
Hi dennis8796, I hope you are doing good.
Could you please provide more details of your requirement?
You can use the Custom Workflow Activity (Workflow + Plugin). That means you can create a plugin and u can use that plugin with the workflow.
and as per your requirement you can add "on change event for that field". After that add a condition on workflow where you can run the plugin if option set value is Blue.
for reference you can refer this link www.c-sharpcorner.com/.../
Business Applications communities