function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Abdullah Sikandar 15Abdullah Sikandar 15 

Pop Up Window option

Please help me asap,

I am having a problem to show up the pop up window, it has the time reminder in it, but i can`t able to show up, when i do it manually it will come up but when i am doing with the code below it was not showing the pop window.

newTask.Subject = 'Text Message recived from ' + inPhone;
            newTask.ActivityDate =;
               newTask.IsReminderSet = true;
            newTask.ReminderDateTime = System.Now(). addMinutes(15);
            newTask.Status = 'Not Started';
            newTask.Description = params.get('Body');
            newTask.Type = 'SMS';
            newTask.OwnerId = ownerId;
            insert newTask;
Ajay K DubediAjay K Dubedi
Hi Abdullah,
you can find your solution in below link:

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Ajay Dubedi