Randy Marcelino (RandyM83)

RandyM83 Member since 2019 8 posts
Posted: June 18, 2019
Last activity: June 25, 2019
Posted: 18 Jun 2019 16:21 EDT
Last activity: 25 Jun 2019 10:19 EDT

Timer tick event not triggering

I am trying to put a timer in my automation that should check that if a certain process is taking more than 5 minutes. If the process is taking more than 5 minutes BOT should kill the application.

To solve this problem I created a timer object in Global Container. Set the interval to 300000.

Created a new event automation that that upon tick event it will launch an automation that would kill the application that was running and taking to long to finish it's process.

Within main process automation (in question taking long time) I placed a stop, resetstate, and start methods of timer object.

Once the timer starts if it reaches said 5 min (300000) it should go to the tick event and kill the application.

I also attempted to put the timer within a windows form and did the same as above yet it still would not kill the application.

I also attempted to use system.timer instead of the component with no success.

The problem that I am encountering is that the timer.tick event is not getting generated.

Observation: This timer ticks event gets generated when i put a debugger point and do debugging.

Any help would be appreciated,

Thank You,


Robotic Process Automation
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.