Dynamics 365 CE – Set State using a plugin

Below is a code sample that demonstrates how to set the state of a record in Dynamics 365. The plugin Step must be registered on both the SetState & SetStateDynamicEntity…