Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

CRM Plugin registered on Create/Update/SetStateDynamicEntity

$
0
0

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.



Viewing all articles
Browse latest Browse all 8223

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>