Scheduled bot is not working

Good day all. I have two scheduled bots that do not run automatically at the scheduled time. They run fine when I run them manually and test them. The app is deployed and I have bypass security filter enabled. Is there anything else that I am missing?

Screen Shot 2024-04-16 at 9.50.13 AM.pngScreen Shot 2024-04-16 at 9.48.48 AM.pngScreen Shot 2024-04-16 at 9.49.08 AM.pngScreen Shot 2024-04-16 at 9.49.34 AM.pngScreen Shot 2024-04-16 at 9.49.52 AM.pngScreen Shot 2024-04-16 at 9.50.39 AM.pngScreen Shot 2024-04-16 at 9.51.05 AM.pngScreen Shot 2024-04-16 at 9.51.15 AM.pngScreen Shot 2024-04-16 at 9.51.23 AM.png

0 19 277
19 REPLIES 19

I guess you should put the schedule as Daily not Weekly.

Good day Joseph_Seddik. I adjusted them to daily, and I will see if that works today. I was hoping to only have files created for the days we actually use the app though (M-F). Daily does not appear to have that option and I thought that since Weekly did have that option, that it would work for each Weekday. I'll come back and let you guys know if it worked or not.

What subscription do you have? When using scheduled Bot, you should have at least Core.

Good day AleksiAlkio. I have Core.

Have you checked the Run history in the monitor for any clues?

Monitor automation 

Good day dntrplytch. There is no history of runs except the ones I did manually.

You could try the below to see if it offers any clues:
Click on the "Deployed" option at the top in the very left column in Appsheet editor.
Under Manage, click on Deploy and then in the right pane, click on "Plan Requirements". Please see if that offers any clues.

I switched the scheduling from Weekly to Daily set for the same times, but it still did not do it automatically. Also, when I ran it manually, it recorded the timestamp differently than what it is. It is the 18th 5:10pm and instead it saved as 20240419_001050. I have Appsheet core:

Screenshot 2024-04-18 at 5.15.50โ€ฏPM.png

And here is what the deployment says about plans:

Screenshot 2024-04-18 at 5.14.34โ€ฏPM.png

 

 

I am having the same issues with one of the bots that I am trying to create. Everything is set up similarly to yours, it works when I manually run it to test it, I have the core plan, I have it deployed, and I checked the button to "Bypass Security Filters" so that the bot will be able to see the data. Let me know if you figure out when yours isn't working. 

I just reached out to Google's Appsheet help team. They spent around 20 minutes looking at my similar bot to figure out why it was not working on the scheduled time since it works when I manually run it. They were unable to figure it out so they are escalating it up to their specialist team. I can keep you posted when I hear back from them. 

Hello - Upon searching further, there are some excellent insights here Scheduled Bot not Running

One that may apply possibly from the post above, especially the second sentence, is:

Bots that are SCHEDULED are run as the SERVER and I'd say typically will be ForEachRowInTable. Therefore you must allow the bot to see your data. If there are user based security filters or security filters that would prevent the SERVER from seeing ANY data, you need to turn the Bypass Security Filters setting on, to execute the event and the Bots that it triggers as though there are no security filters on the data sources.

This will also apply to any expression that you might have in your events Filter Condition. If you are using something that filters based on current user, you'll get no result. The Server is not a user.

The article goes on to provide suggestions as to how the issue was resolved.

I have two observations:

1- Check in "Test" if you get any error to test the bot with any Row.

Alejocarv_0-1713810826792.png

 

2-Check if the path in File folder path could be generating conflict. Enter it as "/text/"

Good day Alejocarv. I reviewed the test results and monitor and there appears to be no errors. @HeathBiller gave google a similar issue and they are going to elevate it. I think I will wait to hear back about that unless anyone else has some suggested changes.

Here is what I received back from Google. It looks like they are aware of it not working and trying to fix the problem. No ETA.

Screenshot 2024-04-24 12.20.42 PM.png

That is good to hear. I hope they also see the timestamp issue, unless that is a me issue. For some reason, when I trigger it manually, the timestamp is different on the document than when I actually did it. Are you getting the same issue?

I am not sure if I have run into any timestamp issues. I don't have the time in the notifications that I am trying to run though.

Got it. I set me document to save with the timestamp in the name of the document; that timestamp does not match the time I execute the manual run or test.

Hello - I wonder if the timestamp on the document is the time in UTC time?

I believe you are right. I just did it at 7:38am (PST) and it recorded as 2:38pm (which is UTC). I wonder why that is.

Top Labels in this Space