You need to sign in to do that
Don't have an account?
Lynn M Grande
constructor not defined error on calling flow from scheduled apex class
When I try to call a flow from apex, i get an error. I am not sure if there is an issue with the flow or how i am calling it.
global class scheduleUpdateAccountTeamwithDSM implements Schedulable{
global void execute(SchedulableContext ctx)
{
startFlow();
}
public void startFlow()
{
Flow.Interview.myFlow startFlow= new Flow.Interview.myFlow ();
startFlow.start();
}
}
global class scheduleUpdateAccountTeamwithDSM implements Schedulable{
global void execute(SchedulableContext ctx)
{
startFlow();
}
public void startFlow()
{
Flow.Interview.myFlow startFlow= new Flow.Interview.myFlow ();
startFlow.start();
}
}