Hi,
when I register a plugin on Create, Update and SetStateDynamicEntity message for Activities in CRM I have the following issue. CRM fires the Update Event every time before doing a SetState on the Entity.
Scenario: Create a new Entity and immediately mark it as complete. This will trigger a Create, an Update and a SetStateDynamicEntity.
What I want now is that my Plugin will only run once in the whole Procedure and I can't seem to find a way to prevent the Plugin from running while still having it work correctly. Its not a problem if the plugin starts as long as I can prevent it from running the whole code within. Thanks in advance for your answers.