Opportuntiy update plugin triggered in close also RRS feed

  • Question

    Hi all,

    I have a plugin registered in opportunity post update.
    When i am trying to close an opportunity this plugin is getting triggered.
    i dont want this to happen. Is there any way to prevent this?

    I also tried to stop the plugin execution by taking the field values statecode, statuscode,
    this brings result as open , even when i am closing the opportunity, i have also tried with pre and post images.


    Wednesday, February 18, 2009 5:46 AM


  • Have you tried checking the status field and just don't do anything if it is closed?  I believe that a status change is treated the same as an update so I think your only alternative is to check the condition of the status and only if open, do the code that you want to execute.  Otherwise, just let it run through.
    Friday, March 6, 2009 6:06 AM