Re-Open opportunity firing at Update message instead on SetState RRS feed

  • Question

  • Hi,

    Can anyone tell me when I try to reopen a closed (won/loss) opportunity and update event is fired instead of SetState?
    I have previously registered my plugin for create/update/delete/won/loss messages.

    Thanks Vineet

    Monday, May 18, 2015 6:13 AM

All replies

  • I can't tell you 'why' it's doing it, but I can confirm that I have seen this as well in CRM 2011.  It wasn't with the Opportunity entity, but with some others.  I haven't tested it in 2013 or 2015.

    Seems strange, but you can test for preEntity.statuscode != postEntity.statuscode in your update event code and then execute whatever steps you planned for the statechange.

    Monday, May 18, 2015 12:55 PM