Calling a Dynamics 365 Workflow through JavaScript
In Dynamics 365, you may want to call a workflow directly from JavaScript. This can be achieved using the WebAPI. Let’s say we have a workflow as follows, that creates a task on the account: For the sake of the demo, we will hardcode the Workflow Id and Account Id. Copy the Workflow Id from the URL: Now create an account: Get the Id of the account: Now the code. … Continue reading Calling a Dynamics 365 Workflow through JavaScript