Page 1 of 1

Reminder email

Posted: Tue May 14, 2019 5:18 am
by HeshanKaru1994
How to send a reminder email after a timer event
timer.PNG
timer.PNG (10.65 KiB) Viewed 4558 times

Re: Reminder email

Posted: Tue May 14, 2019 6:54 am
by HeshanKaru1994
There are 2 tasks

A -> B
You have 10 days to complete the B process. If the process is not completed the First Reminder email should be sent to the appropriate user and if the task is not completed after another 5 days the second reminder email should be send.How to implement this scenario

Re: Reminder email

Posted: Tue May 14, 2019 11:35 pm
by amosbatto

Re: Reminder email

Posted: Wed May 15, 2019 12:42 am
by HeshanKaru1994
Do we need to create this process in the existing workflow or as a separate workflow

Re: Reminder email

Posted: Wed May 15, 2019 1:33 am
by HeshanKaru1994
Can you please combine it to another process and share the pmx file

Re: Reminder email

Posted: Wed May 15, 2019 8:59 pm
by amosbatto
The process to send out the email is a separate process.
You need to change this:
$taskId = '3839855285b99bcad876958079357667';
To the ID of your task in another process which is overdue.

Re: Reminder email

Posted: Wed May 15, 2019 10:02 pm
by HeshanKaru1994
How do you initiate that process through a message event and a timer event as like I did or is there a another way to start it

Re: Reminder email

Posted: Wed May 15, 2019 10:11 pm
by amosbatto
You need to start a case in the separate process and then let it automatically loop forever. You have to set your timereventcron.php file to periodically execute on your ProcessMaker server to keep it looping.