In OutSystems 11, we have access to timer-related entities like Meta_Cyclic_Job, Cyclic_Job, and Cyclic_Job_Shared. Specifically, the Cyclic_Job_Shared entity includes an attribute Is_Running_Since, which allows us to determine within our code whether a timer is currently running:
However, in OutSystems Developer Cloud (ODC), I haven't been able to find any documentation related to an equivalent exposed timer entity.
Does ODC expose any timer entities similar to OS 11? If not, is there an alternative way to programmatically check if a timer is currently running within the ODC environment?
Hi Mayank,
I don't think we have those capabilities built into ODC yet. For alternatives, just thinking out loud, you might consider maintaining a flag per timer in some timer specific entity, and you set or reset the flag in your timer logic. Please ensure that all the code paths ensure resetting of the flag including the exception handlers.
Hope it helps!
Junaid