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
samasama 

how to send email alert whenever creating new record in custom object

hi everyone,

I have custom object called borrow book..i have fields like borrw book, email, first name and borrow date.. i need to send email to user(email) whenever creating new record (in that case borrowing book) with my own email body content.

and also need to send mail alert to the user about returnning the borrowed book after 15 days.
i hace tried workflow rule, i dont know wher i went wrong.

can anyone help me on this please..

thanks for reading this.
logontokartiklogontokartik
You can use workflow rule with Email Alert action and also add a Time based Trigger with Email Alert action for your requirement. I am not sure where you are facing issue, but please see screenshot and see if its the same you have done?

User-added image
Anoop yadavAnoop yadav
Hi,

Check the below link.
http://www.shellblack.com/administration/time-dependent/

Kindly make sure that rule is activated.
samasama
hi,

this s snapshot of workflow rule.and its in active only.


User-added image
i didn't receive any mail when i created new record.
any idea where i might went wrong?
logontokartiklogontokartik
Can you also paste your rule criteria and email alert action? 
samasama
hi ,


thanks all for your help.i did wrong in rule criteria..now it works fine.