web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Display a pop-up window with status message of a succeeded workflow

(0) ShareShare
ReportReport
Posted on by

Hi All

I've a form which runs a real-time workflow. When the workflow succeeds, I need to display the status message of the workflow in a pop-up window or an alert message box.

Any ideas on how I can achieve this?

*This post is locked for comments

I have the same question (0)
  • a33ik Profile Picture
    84,331 Most Valuable Professional on at
    RE: Display a pop-up window with status message of a succeeded workflow

    I mentioned that in my first reply - use it in OnLoad event handler.

  • Community Member Profile Picture
    on at
    RE: Display a pop-up window with status message of a succeeded workflow

    I've created the CRM retrieve function. Where do I call it without having the user to manually refresh the page?

  • Community Member Profile Picture
    on at
    RE: Display a pop-up window with status message of a succeeded workflow

    Thanks, I'll give it a try.

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at
    RE: Display a pop-up window with status message of a succeeded workflow

    Here is example - msdn.microsoft.com/.../gg334427%28v=crm.7%29.aspx that shows how to create/retrieve/update/delete records using CRM Endpoints.

  • Community Member Profile Picture
    on at
    RE: Display a pop-up window with status message of a succeeded workflow

    Sorry, Andrii, I am new to CRM. Can you elaborate more please?

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at
    RE: Display a pop-up window with status message of a succeeded workflow

    There is no challenge. Retrieve value of a field using CRM Endpoint.

  • Community Member Profile Picture
    on at
    RE: Display a pop-up window with status message of a succeeded workflow

    Hi Andrii

    The challenge with you approach is the user has to manually refresh the page to get the new value of the custom bit field, which is not an ideal solution.

  • Verified answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at
    RE: Display a pop-up window with status message of a succeeded workflow

    Hello,

    That can't be done only with Real Time Workflow. You will need to write additional scripts to make it work. It could be implemented in following way:

    1. Add custom bit field to your entity.

    2. Add at the end of your workflow execution update that will update field created on step 1 with true value.

    3. Develop onLoad script that will retrieve value of your custom field, analyze it and if it is equals to true, show alert and update value to false.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Aric Levin - MVP Profile Picture

Aric Levin - MVP 2 Moderator

#2
MA-04060624-0 Profile Picture

MA-04060624-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans