How to get timers log details
Question

Hi,

I want to show the data for each time the a specific timer has run and when is next time and if it's failed or not. And I don't want this from service center but I want to have it in my application, so something very similar to the service center information | https://success.outsystems.com/Documentation/11/Developing_an_Application/Use_Timers/Monitor_Timers?_gl=1*vli6a4*_ga*MTAxMjMzNDEwOS4xNjE3NjEyMjk4*_ga_ZD4DTMHWR2*MTYyNjc3ODIzNC4xNTEuMS4xNjI2Nzc4Njc2LjQ2

According to the documentation, https://success.outsystems.com/Support/Enterprise_Customers/Maintenance_and_Operations/OutSystems_Platform_Timers_and_Asynchronous_Processes?_gl=1*vli6a4*_ga*MTAxMjMzNDEwOS4xNjE3NjEyMjk4*_ga_ZD4DTMHWR2*MTYyNjc3ODIzNC4xNTEuMS4xNjI2Nzc4Njc2LjQ2


I used these entities to get the data, and below shows how i'm actually making the query, however, it only gives me one record, only showing when was the timer last run and where gonna be next run. But I want the full log as it shows in service center, any idea how to achieve that or what i'm doing wrong?

Hi Abeer,

those tables only store the data related to the timer.

Logs are saved on another tables. Check this article to understand how they are managed and where you can find it on the database:

https://success.outsystems.com/Documentation/11/Managing_the_Applications_Lifecycle/Monitor_and_Troubleshoot/Logging_database_and_architecture/The_log_tables_and_views?_gl=1*19skdr3*_ga*Mjk5NTM0Mzg5LjE2MDk2MDQ4NzM.*_ga_ZD4DTMHWR2*MTYyNjc3ODcxOS45ODcuMS4xNjI2NzgwMTU2LjYw#The_rotation_of_the_logs

Regards

Thanks for your answer, yes I found out that the tables I should use is 

Log_Cyclic_Job

From the extension 

PlatformLogs

This is actually where timers log information are saved. The other tables I was used is more of the timer configuration and declaration.


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.