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 365 | Integration, Dataverse...
Answered

How can I create a reminder that uses a pop-up to remind the user before an appointment or task?

(0) ShareShare
ReportReport
Posted on by

I had this idea when you create a task you can tick a custom added field called "Remind me" and if it is ticked (value=True) you can enter a date and time when you want to be reminded. Now, upon creation of an appointment I have a workflow that creates a task automatically and copies all necessary fields from the appointment (ie. Owner, Due Date, Remind me etc.). Now what I want is this: If a task is created and the field "Remind me" is True, then create a pop-up at the set reminder time. How to create this pop-up?

I have the same question (0)
  • Verified answer
    LeoAlt Profile Picture
    16,331 Moderator on at

    Hi parnter,

    If you want to reminder the users with pop-up window of alert when the time comes, you do not need to use workflow because workflow only run in the background and it could not control the page elements.

    So you shuold use js code to do this.

    You could add a js function on the form "onLoad" event to check if the current time equals the field date value, and if it is, then show an alert message.

    You could use "two options field" type field to be "Remind me" field.

    function showReminder(executionContext){
        var formContext = executionContext.getFormContext();
        //get the value of "Reminder me"
        var ifRemind=formContext.getAttribute("Reminderme").getValue();
        //get the date field value.
        var taskDate=formContext.getAttribute("taskDate").getValue();
        //get the current datetime.
        var now=new Date();
        if(ifRemind==true){
            if(taskDate==now){
                alert("reminder messages...");
            }
        }
    }

    Hope it helps.

    Best Regards,

    Leo

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 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 80

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans