Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

How to show pop-up for an on-demand workflow?

(0) ShareShare
ReportReport
Posted on by

I have one custom workflow activity (C# code) which is triggering on-demand from Account entity, this is working as per expectation. Now the requirement is, business users wants to see the pop-up message if some field in Account is null and workflow should stop.

I tried to show pop-up message using JavaScript but it’s not working.

If someone could provide me the help/reference link that would be really helpful.

  • RA-Dynamics Profile Picture
    on at
    RE: How to show pop-up for an on-demand workflow?

    Hi Bipin,

    Apologies for very late reply, I was out of work for some time.

    I achieved my requirement by using Out-Argument and Stop Workflow action of workflow step

  • RA-Dynamics Profile Picture
    on at
    RE: How to show pop-up for an on-demand workflow?

    Hi Bipin Kumar, thanks for your reply.

    I tried your solution as well but still the popup is not showing. I did tried the JS popup with no success.

    My scenario is, the popup should show when I executing the an on-demand workflow from an entity lets say Account entity, but it's not happening.

  • Suggested answer
    Bipin D365 Profile Picture
    28,981 Moderator on at
    RE: How to show pop-up for an on-demand workflow?

    Hi,

    I don't think you can show pop up message from on-demand workflow.

    You can try checking below link on the javascript code to show popup

    learn.microsoft.com/.../openalertdialog

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Product updates

Dynamics 365 release plans