locked
Plug-ins execution hierarchy RRS feed

  • Question

  • There are two plug-ins with the same step is registered in different dll.  for e.g I have created one dll say firstplugin.dll which will get execute on PreUpdate of contact. Have created one more plug-in secondplugin.dll which also will get execute on PreUpdate of contact, both have different functionality and it is required to register separately.  I want to know what will be the hierarchy of the execution? As I have observed it is not depending on the plug-in registration.. The problem I am facing is it is first executing secondplugin.dll, in this plugin I am removing some attribute from the input params. After that it is firing firstplugin.dll where I am not getting the required context params.

    Please share your views.

    Thanks,
    Krutika

    Tuesday, December 15, 2009 7:31 AM

Answers

  • Hi, Krutika.

    In Create/Update plugin step there are field Execution Order. Set value of this field for firstplugin to 1 and 2 for secondplugin.

    I hope this will help you.

    Truth is opened the prepared mind My blog - http://a33ik.blogspot.com
    • Proposed as answer by D-Virdi Tuesday, December 15, 2009 8:49 AM
    • Marked as answer by Krutika Suchak Tuesday, December 15, 2009 10:37 AM
    Tuesday, December 15, 2009 7:43 AM
    Moderator

All replies

  • Hi, Krutika.

    In Create/Update plugin step there are field Execution Order. Set value of this field for firstplugin to 1 and 2 for secondplugin.

    I hope this will help you.

    Truth is opened the prepared mind My blog - http://a33ik.blogspot.com
    • Proposed as answer by D-Virdi Tuesday, December 15, 2009 8:49 AM
    • Marked as answer by Krutika Suchak Tuesday, December 15, 2009 10:37 AM
    Tuesday, December 15, 2009 7:43 AM
    Moderator
  • Thanks, it worked :)
    Tuesday, December 15, 2009 10:37 AM