Hi everyone.
Mu problem of the day is the following. In a Bean I have a method doSomething(String myParameter).
I want to launch this method from the UI, when the user clicks on a button. I’m using the schedulingService like below
List stask = dataManager.load(ScheduledTask.class)
.query(“select t from dumbo_sys$ScheduledTask t where t.methodName='doSomething”)
.list();
ScheduledTask exe = stask.get(0);
schedulingService.runOnce(exe);
My question is how can I pass the parameter ‘myParameter’ to the method when I run it ? I didn’t find a lot of documentation about his…
Help much appreciated. Thanks in advance.