Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

Difference between custom workflow and plug-in?

Posted on by 777

What's the difference, and why would you use one verses the other? Is it common to see problems that could be solved with either one? 

  • Verified answer
    TylerS.Dev Profile Picture
    TylerS.Dev 725 on at
    RE: Difference between custom workflow and plug-in?

    They are similar but custom workflow activity is triggered within the workflow where the plugin triggers based on the event you registered to in the registration tool  (I believe you can also trigger plugin by combining action and javascript).

    There is already a topic that discuss the differences:

    https://community.dynamics.com/crm/f/117/t/200790

    I use both plugin and custom workflow activities.  I chooses custom workflow activities for tasks which require constant modification.  For examples, sales orders needs to be auto assign to specific users based on complex logic that cannot be done in regular workflow.  For this, I will build the complex logic in custom workflow activity, and use regular workflow to invoke the logic, and assign users within regular workflow.  This way, you can always go back to regular workflow to switch users without the need to constantly go back to plugin and change the code. 

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

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