Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to call workflow from javascript

(0) ShareShare
ReportReport
Posted on by

Hi 

I have a requirement, i need to call a workflow from java script. Can someone suggest me the steps that i should follow to get the requirement done.

Thanks in advance.

*This post is locked for comments

  • Suggested answer
    Payam Profile Picture
    30 on at
    RE: How to call workflow from javascript

    Hi, You Can use the process.js library that developed for CRM 2013 to Dynamics 365 and it has a simple method you can add this library to your form and in your JavaScript code just use "Process.CallWorkflow" or "Process.Calldialog" or "Process.CallAction" to call what you want. the documentation of this lib is very good and it has a very simple description.

    You can use this link: Process.Js

    please mark Accept this comment if it can help you.

  • Johnny Gong Profile Picture
    6,482 Moderator on at
    RE: How to call workflow from javascript

    Hi ,

    You could refer to the latest post about 'Calling a Dynamics 365 Workflow through JavaScript'.

    https://carldesouza.com/calling-a-dynamics-365-workflow-through-javascript/ 

    Hope it would help,

    Regards

    Johnny

  • Suggested answer
    Arun Vinoth Profile Picture
    11,615 Moderator on at
    RE: How to call workflow from javascript

    You can utilize web api and call ExecuteWorkflow action from javascript.

    www.inogic.com/.../execute-workflow-using-web-api-in-dynamics-365-2

  • MS CRM DYNAMICS Profile Picture
    586 on at
    RE: How to call workflow from javascript

    Please check below link

    community.dynamics.com/.../199683

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,278 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,011 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans