Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
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,960 Super User 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

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,584 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,864 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans