Skip to main content
Suggested answer

Calling a Workflow from JavaScript with no Parameters

editSubscribe (0) ShareShare
Posted on by 4


I have a workflow that takes no parameters that is triggered from the a main entity (let's call it "entityfoo").

When you got to the main page for "entityfoo" - I have a button that I want people to be able to click that calls an async workflow that goes off and populates records into "entityfoo".

This workflow is not tied to a specific entity record, it simply populates the list.

How can I call this workflow in D365?  I vaguely remember doing this before using the "Run Workflow" command in the non-unified interface but this doesn't seem possible now.

Is this possible and if not how do I trigger a workflow in this manner?

(It doesn't have to be a button or javascript, happy with whatever can work).

Thank you - Greg.