Skip to main content

Notifications

Announcements

No record found.

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
    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,959 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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,234 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,994 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans