Saturday, June 21, 2008

Opportunity setstate plugin problems

Few months ago, I was writing a plugin on opportunity setstate. I registered the plugin using registeration tool. My plugin never get triggered. After messing around for few hours, I registered the plugin on SetStateDynamicEntity message. Even then when I closed the opportunity, the plugin did not trigger, did not matter if it's won or lost opportunity, But plugin did trigger when I reopened the closed opportunity. I tried a lot of different things and at the end I registerfed my pluggin for win and lose message instead of setstate or setstatedynamicentity message. It worked this time.
I hope this will help some of you guys facing the same problem.

Have a nice weekend.


  1. Yes. Yes that did help very much. You probably saved me a couple of hours of trying random messages ...

  2. Thank you so much.. You saved my time

  3. Thanks - I have been trying to get SetStateDynamicEntity to work with the same results as you , it's working on win now so its win win :)