locked
MS CRM 2011: Plugin on Assign Message RRS feed

  • Question

  • Hi,

    I have a plugin with following details:

    Primary Entity : Lead

    Message : Assign

    Eventing Pipeline Stage of Execution : Pre-operation.

    There are some blank mandatory fields on its Lead page. While re-assigning this Lead i.e. I have selected its new owner, it ask for validations of above mentioned blank fields.

    1st Query:

    When filled all blank fields on the form and saving it, it executes plugin but does not throw InvalidPluginExecutionException Exception.

    If form is fully filled (no blank mandatory field) and then I am re-assigning the lead record, then it throws Exception ().

    2nd Query:

    How can I execute this Plugin before such system validations ? (Not working on Pre-Validation)

    Thanks and Regards,

    Arun

    Wednesday, January 9, 2013 1:29 PM

Answers

All replies