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

Notifications

Announcements

No record found.

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)
  • Verified answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    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.

  • Community Member Profile Picture
    on at

    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.

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

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

  • Community Member Profile Picture
    on at

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

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    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

    Thanks, I'll give it a try.

  • Community Member Profile Picture
    on at

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

  • a33ik Profile Picture
    84,331 Most Valuable Professional on at

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

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans