Hey everyone. I’m having a problem with a File column always showing an older version of a PDF (said PDF is created and updated via a workflow in the app).
- I’ve got a workflow that creates a PDF (for an invoice) and saves it in a folder in the Gdrive associated with the app.
- I’ve got an action that then writes the file path/name to a file column for the invoice record.
This gives me a column that I can click on to open the saved file… and all this works.
Until I make a change to the PDF; then I don’t see the newly updated file, instead I continue to see the version of the file that I opened immediately after it was created.
For example: say I trigger the workflow to create the invoice file and write the file path to the File column: after the sync cycle for creating the PDF is complete, I can click on the File column to view the file - and it works. Then if I make a modification (say some rewording of a line item or something) and re-trigger the workflow (which updates the PDF), when I tap the File column to view the file I still see the first version - but if I go and check the file in the cloud it indeed has been updated.
It’s like the system is caching a version of the file and showing me this, instead of pulling the file from the cloud when I click on it.
- I’ve checked the the actual file in the cloud IS updated
- I’ve confirmed the file name and path is correct (it wouldn’t open anything otherwise)
- I’ve synced the app a bunch of times already (a dozen as of this writing).
- I opened the app in a web browser (after clearing cache), thinking this would cause the browser to re-download the file
It has been about a 1/2 hour since I’ve made the last update to the file, and I’ve tried all of the above again to no success. (I was thinking maybe it was a time based thing: you know, we only check the file to see if it’s been updated every 30 min or something…)
I would just use a “GetAppFileURL” and make it work that way - but things are changing and that won’t work for very long.
@Phil any help would be appreciated.