locked
Async plugin in mscrm 2011 execution order RRS feed

  • Question

  • Dear all;

    i have a async plugin which on create of appointment appointments are being created by recurrent appointment mechanism in mscrm 2011 in the plugin  i am creating  another entity records(custom) for example on scheduling appointment 10 appointment created so 10 new record also create din the custom entity that is working fine,but on the created of  entity(custom) i have another plugin (async) which creates the auto number in the ID field it is possible that i can run on create plugin of Entity(custom) which is creating auto number after all the entity (custom) record created ??

    Friday, January 31, 2014 9:53 PM

Answers

  • Hi,

    The async events will be executed in parallel with each other and not series. Consequently you cant control their execution order without creating a single parent plugin that then calls your two processes.

    Hope this helps,

    Scott


    Scott Durow
    Blog www.develop1.net    Follow Me
    Rockstar365
    If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"

    Saturday, February 1, 2014 8:38 AM
    Answerer

All replies

  • Hi,

        The plug-in fires no matter how the record is created. So if there is plug-in which creates auto number, it would be triggered.


    Hope this helps.
     
    -----------------------------------------------------------------------
     Minal Dahiya
    blog : http://minaldahiya.blogspot.com.au/

     
    If this post answers your question, please click "Mark As Answer" on the post and "Vote as Helpful"

    Saturday, February 1, 2014 7:28 AM
  • Hi,

    The async events will be executed in parallel with each other and not series. Consequently you cant control their execution order without creating a single parent plugin that then calls your two processes.

    Hope this helps,

    Scott


    Scott Durow
    Blog www.develop1.net    Follow Me
    Rockstar365
    If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"

    Saturday, February 1, 2014 8:38 AM
    Answerer