function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Lynn  M GrandeLynn 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();        
    }
}