recommended way to capture newly selected incident owner in plugin? RRS feed

  • Question

  • Hello, when a user changes the Owner of an incident, is there a recommended way to capture the newly selected value in the PreCaseUpdate plugin?

    Currently, when I access preEntity.OwnerId, it refers to the orignal owning user, as expected, but targetEntity.OwnerId is null.  Any recommendations on how to get a handle to the newly selected incident owner?
    Wednesday, January 22, 2014 9:28 PM

All replies

  • Hi,

    Register the Plugin with the message Update in a child pipeline.

    Refer below links, they talk about the same issue with CRM 4.0 and its the same with CRM 2011.



    Please mark this post as an answer and vote it as helpful

    Ajay Chawla

    • Edited by Ajay Chawla Thursday, January 23, 2014 6:42 AM
    • Proposed as answer by Ajay Chawla Tuesday, January 28, 2014 6:04 AM
    Thursday, January 23, 2014 6:42 AM