Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Answered

Which task can we perform with workflow but not with plugin

Posted on by Microsoft Employee

Hi, 

Could you please give some scenario.

Thanks,

Arshad

  • Verified answer
    RE: Which task can we perform with workflow but not with plugin

    Thank you for telling an easy-to-understand table

  • Suggested answer
    RE: Which task can we perform with workflow but not with plugin

    Difference between Asynchronous Plugin and Workflow ?

     

    So many times I have been asked a question from my colleagues, 

    What is the difference between Async Plugin and Workflow, Since both are Asynchronous But What is the actual difference between them and When should i use Workflow and When should I use Async Plugin ?

    Answer :

    My Answer is always "Depends", the right approach is determined by the Characteristics of the task that you are trying to accomplish.

     

     Following Matrix show the difference between the same :

     

     

              Requirement

    Use Plug-in

    Use Workflow

    Needs a synchronous action to happen before or after an event occurs

    Or

    Need to perform a task that has to completed within 2 Sec

     

     

     

    Yes

     

                  No

     The logic needs to be executed while offline

    Yes

    No

    Needs elevation of privileges (impersonation)

    Or

    Perform data operations on behalf of another system user

     

     

    Yes

     

    No

    Needs to execute on events other than assign, create, update, set state

    Yes

    No

    The process/logic may take a long time to complete or will be a persistent process (multiple long running steps)

    No

    Yes

    End users will need to modify the process logic

                No

    Yes

                                             Child sub processes will be triggered

    No

    Yes

     

    From <http://arpitmscrmhunt.blogspot.pt/2014/06/difference-between-asynchronous-plugin.html>

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Which task can we perform with workflow but not with plugin

    This question has been asked in interview.

    juniorcrmblog.blogspot.com/.../ms-dynamic-crm-interview-question-for-2.html

    Thanks,

    Arshad

  • Suggested answer
    RE: Which task can we perform with workflow but not with plugin

    None I think, plugins can do what workflows do and more

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans