You need to sign in to do that
Don't have an account?
MattMet86
Call Flow from Schedulable Apex Calss
I am trying to call a flow from an Apex class that will eventually run on a monthly basis but i cannot get the syntax correct. Can anyone help me?
I do not need to pass any values or params into the flow. Just need to call it.
Here is my code:
Here is my error:
Thanks for any help you can give!
I do not need to pass any values or params into the flow. Just need to call it.
Here is my code:
global class scheduledMerge implements Schedulable { global void execute(SchedulableContext SC) { Flow.Interview.Reset_Badge_Count_Each_Month resetbadge = new Flow.Interview.Reset_Badge_Count_Each_Month; resetbadge.start(); } }
Here is my error:
Thanks for any help you can give!
I got the following error message.
Error: Compile Error: Constructor not defined: [Flow.Interview.Reset_Badge_Count_Each_Month].<Constructor>() at line 3 column 62