locked
Difference between Asynchronous Plugin and Custom Workflow? RRS feed

  • Question

  • Hi All,

    Can anyone tell me the difference between Asynchronous Plugin and Custom Workflow?

    --

    Regards,

    Gopinath.

    Monday, May 19, 2014 4:04 PM

All replies

  • Asynchronous  Plugin  -

    1.  Plugin  has  maximum  time  limit  of  2 minutes .   Plugin  running asyncounously  will  get  timed  out  after  2  minutes  .

    2. We  can  configure  plugin  to  Run as  (another ) user's  context  .

    3.  Can not  accept  any  input  parameters  ,  by  default it  takes  only  details  from the  entity  using  IPluginExecutionContext.

     Custom workflow  :

    1.  Assembly  does  not  have  maximum  time limit  .  It  is  preferred  when  consuming  external  webservices  in the  plugin  .

    2. Can  not  configure  with  Run as  ( another) user's context . 

    3. Can  accept  input parameters  and  returns  out  put  parameter  to  workflow .

    4.  Can  be  configured  to  run as  a  child  workflow  while  plugin  does  not  have  this  feature .

    • Proposed as answer by KriSree Monday, May 19, 2014 4:49 PM
    Monday, May 19, 2014 4:48 PM