You need to sign in to do that
Don't have an account?
Syam Reddy 11
Email notification on every hour until Status change
Hello All,
I have a senarion on invoice approval notification below..
Once user submit Invoice for approval status will get change to "pending approval", and then approver recieve one email notification for one time after submitting, but i wanted to notify approver every one hour until he approved and status will get changes to approved.
Can we achive this by using workflow or process builder?? Kindly help me on the same.
Thanks!
SyamReddy.
I have a senarion on invoice approval notification below..
Once user submit Invoice for approval status will get change to "pending approval", and then approver recieve one email notification for one time after submitting, but i wanted to notify approver every one hour until he approved and status will get changes to approved.
Can we achive this by using workflow or process builder?? Kindly help me on the same.
Thanks!
SyamReddy.
you need to use the batch apex and schedule it using the cron expression
you can refer this,
Batchjob obj= new Batch job();
String cron = '0 0,60 * * * *';
System.schedule('job name', cron, obj); (ini the Execute Anonymous Code window of Developer Console)
Please mark this as the answer, if it helos you.
Good luck !