Hello.
How to create a schedule with a manual option using Java SDK rather than cron? Could you please share sample code/Documentation around this?
Thank you.
Cody
Best answer by Boris
Hello Cody,
You can create a schedule that will be triggered manually by using the function createSchedule, but using null instead of the CRON expression.
processService.createSchedule(project, new Schedule(process, "myGraph.grf", ""));
You can also trigger the execution via API, without creating the schedule at all, by simply calling ProcessExectuion function
ProcessExecution exec = new ProcessExecution(process, "myGraph.grf");
you can find more examples here.