Sample Plugin code to run on Reactivate Case (Incident) in Dynamics 365 – Nishant Rana’s Weblog

Nishant RanaDyn365CE6 years ago89 Views

Just sharing a sample code that runs on the Activation of case (incident) record and updates one field in it.

We need to register the plugin in both SetState and SetStateDynamicEntity message. Interestingly what we found was the plugin runs perfectly even if it is registered only for SetStateDynamicEntity. It triggers properly either we update it from CRM UI or through the CRM SDK for SetStateDynamicEntity message.


protected override void ExecuteCrmPlugin(LocalPluginContext...

Continue Reading Nishant Rana’s Article on their blog

Sample Plugin code to run on Reactivate Case (Incident) in Dynamics 365 – Nishant Rana’s Weblog

Blog Syndicated with Nishant Rana’s Permission

Leave a reply

Join Us
  • X Network2.1K
  • LinkedIn3.8k
  • Bluesky0.5K
Support The Site
Events
June 2025
MTWTFSS
       1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30       
« May   Jul »
Follow
Search
Loading

Signing-in 3 seconds...

Signing-up 3 seconds...