BOT Monitor - Monitor BOTs within App and get notified about BOT errors

This Tip is inspired from the post BOT Early Warning System by @1minManager and the help i received from @dbaum regarding  Use 'Call a process' and 'Return values'  and further improvisation by @MultiTech. I am just compiling all those into a single Tip for easier finding by someone looking for this. And there is a small modification that i did.

I added a BOT Status column in BOT Monitor Table which is set to Started at first step of BOT and set to Completed at last step of BOT. If the Status is not Completed after 5 minutes of Start, then Status is changed to Error with help of another BOT. Below are the steps describing how i implemented it. 

STEP 1 ---> Created a BOT MONITOR Table with the Columns below

jyothis_m_0-1676202670166.png

 

STEP 2 ---> Created a Process, BOT Start under BOT MONITOR Table 

jyothis_m_1-1676202670021.png

 

STEP 3 ---> Created a Process, BOT End under BOT MONITOR Table  

jyothis_m_2-1676202670029.png

 

STEP 4 ---> Added FIrst Step in all the BOTs to be monitored as START

jyothis_m_3-1676202670199.png

 

STEP 5 ---> Added Last Step in all the BOTs to be monitored as END

jyothis_m_4-1676202670024.png

 

STEP 6 ---> Created another BOT under BOT Monitor Table, which triggers on any ADD to the table and waits for 5 minutes. Then Checks BOT Status. If not completed, change the BOT Status to Error and send Notification in Pushover.

STEP 7 ---> Created another Scheduled BOT under BOT Monitor Table, to delete all completed Logs after 7 days.

BOT Monitor in App

jyothis_m_5-1676202669449.png

 

Detail View

jyothis_m_6-1676202669578.png

 

4 2 669
2 REPLIES 2

Neat and clean explanation. 

Thank you @jyothis_m 

Thank you @Suvrutt_Gurjar 🤗

Top Labels in this Space