Maxo42 Hi everydody, I would like to know how to automatically send an email 2 days after checking a checkbox in a form which means that the customer will receive the email 2 days after making an appointment and not receive the email immediately after the appointment is made in the application. Automated sending of an email 2 days later.
hpl123 To achieve this you can do the following: Create a notification for your outgoing email (plain or HTML). Add a timestamp attribute on user level (or similar) BO that holds the date/time of the checkbox in the form. Create a process that checks the timestamp attribute and if the time between date and current date is or is larger than 2 days, send the email. Add a scheduler rule once daily or so that runs your process. If you need the mail to be sent exactly 48 hours after checkbox in form you would have to set the scheduler rule to run every couple of minutes or so (usually overkill, once daily I would say is best in most scenarios). Also add some flag somewhere that indicates that the email is sent so duplicate emails aren“t sent.
rocketman I have a scheduled process set to run at a predetermined time overnight Something like FIND customers WHERE DATE_ADD (customers.tickboxdate,2)= CURRENT DATE IF Search count > 0 THEN SEND [the mail] to customers