SchedulerServices

SchedulerServices provides static methods that enable Scheduled Tasks to be started from a form, workflow job or Integration Service.

SchedulerServices Functions

runBackgroundForm SchedulerServices.runBackgroundForm( formId , formParameters , scheduledTaskId ) Runs the specified form immediately in background executing the before form and after form events.
runForm SchedulerServices.runForm( formId , formParameters , scheduledTaskId , inBackground )
runFormInExecutor SchedulerServices.runFormInExecutor( formId , formParameters , scheduledTaskId , executor ) Run form using threads from the Executors.