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?

  • Verified answer
    LeoAlt Profile Picture
    16,331 Moderator on at
    RE: How can I create a reminder that uses a pop-up to remind the user before an appointment or task?

    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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 231,801 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans