You need to sign in to do that
Don't have an account?
raj161
Apex Scheduler with more parameters.
Hi,
I am planning to use apex scheduler for scheduling of automated emails. I don't want to use a single template for this. I want to use a template based on the input parameter. Is there any way I can get the apex scheduler so that I pass 1 extra parameter and I can decide which email template can be used for that parameter.
Right now we have an option to pass the three parameters like the below.
system.schedule('Merge Job', sch, m);
Can I pass a fourth parameter?
No...you can pass only three parameters to system.schedule method...
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_system.htm