- April 26, 2016 at 12:50 pm #10515shafali #476
Can we use Process Builder to schedule an apex class?
Can we use process builder to schedule an apex class?April 27, 2016 at 7:44 am #10527Prakhar #474
Yes you can schedule your class using process builder. For this you have to make your class method as an @InvocableMethod for the static method only and only one argument is being passed in that method which will be of type list<p>.
For help and more knowledge see this link http://www.forcewizard.com/blog/invoking-apex-class-process-builder.
Or you can directly schedule the apex class while selecting object just check the advanced checkbox and add apex through actions and set the schedule according to your need. For more information go through this link- https://help.salesforce.com/apex/HTViewHelpDoc?id=process_limits_scheduled.htm&language=en_US
Thanks.April 27, 2016 at 7:56 am #10534Naman #166
You can call apex method from process builder in which you can write code to schedule batch apex. To call a method in process builder you need to add annotation @InvocableMethod while defining method.October 30, 2018 at 1:55 pm #51311
Please Register to reply to this topic. /