You need to sign in to do that
Don't have an account?

Scheduled Apex approach
Hello,
I have a requirement where I need to email an Approver a couple of days after an Approval was sent to them.
I got this working with a Workflow rule. However this option didn't end up working since a couple of the approval merge fields don't get populated when they're called from within a Workflow rule.
I was thinking of creating an Apex class and scheduling it. However the issue comes when I can potentially have more than 100 of these scheduled notices which are waiting to be emailed out.
Is there a best practice when it comes to scheduling Apex within Triggers?
Thanks,
Mike
I have a requirement where I need to email an Approver a couple of days after an Approval was sent to them.
I got this working with a Workflow rule. However this option didn't end up working since a couple of the approval merge fields don't get populated when they're called from within a Workflow rule.
I was thinking of creating an Apex class and scheduling it. However the issue comes when I can potentially have more than 100 of these scheduled notices which are waiting to be emailed out.
Is there a best practice when it comes to scheduling Apex within Triggers?
Thanks,
Mike