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

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

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

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

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

Detail View

4 Likes

Neat and clean explanation.

Thank you @jyothis_m

3 Likes

Thank you @Suvrutt_Gurjar :hugs: