I'm in the process of moving some long running processes from O11 to ODC.Some of these will be running as simple timers.I would like to be able to programmatically check on a timer running status in an admin application I'm building to manage CSV data ingestion.Don't seem to have the Log_Cyclic_Job entity in ODC that I would have used with O11.What approach would be best to use in ODC to get timer status and next runtime?
Thanks
Hi @Trevor Hall
Currently, it is not possible to change the timer's schedule programmatically.
Alternative approach:
In our project, the customer can set a specific time for something to happen in the application. The way we ended up solving this was pretty much what Dorine described: we have set the timer to run every 5 minutes (the smallest possible interval for a timer) and, when it runs, we check if there's anything scheduled for the next 5 minutes. So when the timer runs at, say, 13:00, we check if there's anything scheduled between 13:01 and 13:05. When it runs again at 13:05, we check between 13:06 and 13:10, and so on.
Ref link:
https://www.outsystems.com/forums/discussion/97691/changing-schedule-of-a-timer-in-runtimeodc/
Md Mansur
Thank you for the reply Md Mansur. :)Changing the schedule is less important to me than checking the status.Do you happen to know if it is possible to programmatically check the status of the timer? Running etc?I could create another entity to manually handle this, but trying not to consume another AO if I can help it.
I have attached some link so please go through this:
Ref Link:
https://www.outsystems.com/forums/discussion/62083/outsystems-timer-status/
Note:
This Approach is found in O11 so Take as a References and Try in ODC