web
You’re offline. This is a read only version of the page.
close
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

I have the same question (0)
  • MS CRM DYNAMICS Profile Picture
    592 on at

    Please check below link

    community.dynamics.com/.../199683

  • Suggested answer
    Arun Vinoth Profile Picture
    11,615 Moderator on at

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

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

  • Johnny Gong Profile Picture
    6,482 Moderator on at

    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
    Payam Profile Picture
    30 on at

    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.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans