You need to sign in to do that
Don't have an account?
how to send a email after 3 hours of saving the record (company working hours only can be calculated)
lets say our company is working from 09 to 17'o clock
when ever lead is created in our database there is email field in lead object, for that email we need to send alert mail after 3 bussiness hours gap of saving the record
example: if lead is creating at 10'o ckock alert shoud to go at 13'0clock and if lead is creating at 16'o clock alreat shout be go nextday 11'0clock , if the next day is holiday then coming working day mail has to go. finally we need to send email at working hours only
if anyone answered with sample code it will be very greatfull to me,thanks in advance
Greetings!
You can try the schedule action in the process builder to schedule the email alert after 3 hours of the createdDate.In order to set the business hours please refer the below document:
https://trailhead.salesforce.com/content/learn/modules/action-plans-in-financial-services-cloud/configure-business-hours-working-days-and-roles
Please mark it as best answer if it helps you to fix the issue.
Thank you!
Regards,
Shirisha pathuri