Workflow Action - Can not re-create file in google drive

Ryan_S
New Member

So, everything was working well, but I manually deleted a PDF file created on my google drive via a WorkFlow Action.

Now, when I re-run the test that created that specific file, it errors out and says the file canโ€™t be found (human readable file name, followed by what looks like a google drive reference)

Exact error is:
Failed: Error: Workflow attachment โ€˜Projects/Kingston Public Library/Reports/HP-008-Report.pdfโ€™ could not be written due to File not found: 19hwoRP3fbi7BweRfX9XwT4fFR6hvTyliโ€ฆ

Is there any way to unlink that reference, or tell it if it does not exist to just make a new file like it does on the first run? I have time-stamps off, so it always re-writes over the same file, but for this case thatโ€™s the way I want it.

Thanks.

Solved Solved
0 4 197
1 ACCEPTED SOLUTION

Steve
Platinum 4
Platinum 4

From the app editor, use Save & Verify Data.

View solution in original post

4 REPLIES 4

Do you have that PDF set as an additional attachment?

Steve
Platinum 4
Platinum 4

From the app editor, use Save & Verify Data.

Ryan_S
New Member

Thanks Steve! Would have never figured that out on my own

Save & Verify Data prompts the app editor to do some additional checks within the actual app data, and of the files used by the app (such as template files, primarily). In effect, itโ€™s a more thorough check for problems, and will correct some automatically.

Top Labels in this Space