Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

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

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
    RA-Dynamics 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
    RA-Dynamics 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
    Bipin D365 28,964 Super User 2024 Season 1 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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,900 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,275 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans