G
Godfrey Sorita
Guest
Hi Sudhakar, The solution for this is almost the same with my first answer. I assume you already have a trigger and email template in sn_emp object, and the recipients of the email is configured to be sent to both 'email' and 'LO Mail'. Am I correct? Then, create a batch job that will run this trigger every 8PM. In your case, I would use the code below: if ("{!city}" == "hyd") rbv_api.runTrigger("sn_emp", {!id}, " sendNotification ", true); **Replace the highlighted text with the integration name of your 'Send Email' trigger. Since the batch job runs on all records, it will send an email to 'Email' and 'LO Mail' if the the value of the sn_emp's city is equal to 'hyd'. Below are the screenshots of my trigger and batch job. Regards, Godfrey
Continue reading...
Continue reading...