I have created a Script in GAS to which I pass a PDF and it generates a PNG for each of the sheets that compose it.
If I launch the Script directly it takes about 5 minutes, less than the 6 minutes that Google says for free accounts (41 sheets and 41 PNG files generated), and it does it well..
If I link that Script from AppSheet, it cancels without finishing (when it reaches sheet 11 or 12). I have tried with another PDF that has fewer sheets and it does complete the process.
Does anyone know what time limits AppSheet imposes for executing a Script?
I have noticed that the script is running twice in each execution, with a separation of about 1 minute.
I imagine that this causes both executions to crash. What I don't know is why it is running it twice.
There seems to be a problem with the execution of the Script from AppSheet.
My Script took 5 minutes to execute directly.
Called from ApPSheet it was cancelled after 60 seconds and started again.
I hope they fix it although my specific problem (generating PNG pages from a PDF file) was solved using Cloudinary tools (excellent, by the way).
Mark your script to run Async from within Appsheet? Appsheet won't wait for the script to return and so won't time out.
Of course, if your script returns anything back to appsheet then you cannot do this...
User | Count |
---|---|
18 | |
14 | |
11 | |
7 | |
4 |