Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Executing create entity form from workflow

(0) ShareShare
ReportReport
Posted on by

I want to open a form for creating a new entity, when certain event/action is executed in dynamics.

For example, you can say that when a new user is created, or a new lead is created, or say an opportunity is won, i want to create a custom entity which will require the user to then input certain parameters and say upload a document. Also, i would like to capture the entity which triggered the even of the new entity creation i.e. user/opportunity/lead in this case.

I searched  some community posts and found that i can create an action (which will be triggered in the workflow when the entities -use/lead/opportunity are created/won) and this action will then open up the new form.

But i could not find how to achieve this last part of opening up the form and pass the captured data of the entity because of which the action is triggered.

Can you please provide me some pointers on how to achieve this functionality?

*This post is locked for comments

  • Suggested answer
    Aric Levin Profile Picture
    Aric Levin 30,188 Moderator on at
    RE: Executing create entity form from workflow

    Actions can be triggered via the Workflow process or via Plugin, and can have return types, which you can get from your JavaScript code. A workflow or action by itself cannot open a form as Andrew is mentioning below, but if you call your action from JavaScript, an get the success result or return types, you can then have JavaScript open a different form.

    Most of this will be done via JavaScript pending results from your action.

    Note that the creation of entities or change of status of an entity is a system sdk message, which will not be triggered by an action or return results, so all of this process would have to be called by the user or system, but not Out of the Box.

    Hope this helps.

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,325 Most Valuable Professional on at
    RE: Executing create entity form from workflow

    Hello,

    Unfortunately you can't do that. Workflows are executed on the serverside and you want to execute action on the clientside. You will have to rework your design.

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... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans