Go requires some special handling because of the non-accessible file structure of iOS.
You need to set your $filepath variable via a calc, using If/If Else, so that IF you are running GO it sets the location to the Temp folder (a Get function) and then uses that location to email the file to an appropriate recipient so that it's not lost/abandoned at the end of the session.
Alternatively, if using GO, you could just branch to an email step and collect the appropriate info from the record fields to use in the body of the email. This could be sent to a special email address just for collecting this info, and then have the appropriate recipient(s) process info from the emails at that address.
I'm sure there a a few other work-arounds for GO, but it does have to be handled differently than a standard computer with open file structure.
On iOS, applications are Sandboxed, and each their own home directory.
On GO, you can export to the "Documents" folder, which means the same directory where all the locally stored .fmp12 files are located. This is the same way that container data can be exported out of GO and into the iOS file system.
Alternatively, you can export to the "Temp' folder, but that is not user accessible. It would be more useful for another script step in your solution to work with external files without littering your GO's Documents folder.
Once the text files are listed in GO's document list, you can handle them anyway you like, including plugging the iOS device into a computer and downloading the files via iTunes.
Another way, as Stephen Huston mentioned, is to have them sent out by email.
Thank you so much, Stephen!
I just added an "If / Then" to test if SystemPlatform = 3 after the previous Set Variable, copied the previous Value and changed Get (DesktopPat) to Get (TemporaryPath), and voila!
Oh yeah, and configured the Mail client on this previous broken iPhone5. That helps significantly with actually sending the email.
Woo hoo! Thanks again!
I will look into having it save in the Documents folder instead of the Temp. This is the first time I've messed with getting data out of Go.