Can we schedule timer through some our own custom user interface instead of service center and not scheduling through service studio as well ?
Hi @Gaurav Jain
No — in OutSystems, a Timer cannot be scheduled completely independently of Service Studio or Service Center.
A Timer must have:
OutSystems does not provide a native feature to create or fully schedule Timers dynamically from a custom UI only.
Thanks,
Sudip
No, only set on Studio or Service Center/Portal
Hi,
Actually, yes this is possible:
Regards,
Daniel
Thanks @Daniël Kuhlmann
This is actually new to me. I will definately try those forge components.
Hello @Gaurav Jain,
Well, as Sudip and Huy mentioned, it is not directly possible. However, technically, you can achieve something similar.
Inside the Cyclic_Job, Cyclic_Job_Shared, and Meta_Cyclic_Job entities, there is an attribute called Next_Run that you can update programmatically based on your interface interaction.
For example, when the button is clicked, you can update the Next_Run value to be 1 second after the click event. It may not be 100% accurate, but it would be the closest possible behavior to real-time execution in Service Studio.
Hey @Sherif El-Habibi
Thanks for correcting me. I will learn this technique.
Hello @Sherif El-Habibi :
So is this possible using Cyclic_job tables, we can manually change/update schedule time or stop existing timer(s), or it is just for fetching read only details.
Little weird but my idea is to create almost similar service center like user interface of timer(s) in our application.
Gaurav