Hi,
When a user completes and uploads files to the form and then submits them. I want to upload those files to my google drive (I successfully connect to Google Dive Web API)
I am configuring the Integration but I have no idea how to configure the DOCUMENT section, I suppose that an expression should go to indicate which files should be uploaded to google drive (HELP ME WITH SOME EXAMPLES)
This is the users form (how i call the integration?)
Discussion posts and replies are publicly visible
You add a rule input of type Document to the integration and use that in the document field. In the process add Call Integration nodes to upload the files.
hi Stefan nice to meet you
It works, thanks so much...!!!
I upload 4 files, but i my drive only appear 1 file (the first i upload)
I write this expression to try to upload the 4 files
=pv!CWA_OECVendor.oecvendorfile1,
pv!CWA_OECVendor.oecvendorfile2,
pv!CWA_OECVendor.oecvendorfile3,
pv!CWA_OECVendor.oecvendorfile4
The parameter name in the integration is in singular. It will upload only one file at a time. To upload multiple, check out the MNI feature in Appian.
docs.appian.com/.../looping.html
In data input i write this expression to all files that i want
=pv!CWA_OECVendor.oecvendorfile1,pv!CWA_OECVendor.oecvendorfile2
In data output I DONT HAVE IDEA
In OTHER i try in Multiple instances
Sorry, I did not see that you have one field for each file, but not all files in a list. Then MNI will not work and you need to add four call integration nodes assigning one of the files on each.
I added four call integration nodes allocating one of the files in each. Works. (red pen) ... is it okay?
Now I added an integration to create a folder to store the new 4 uploaded files (red pen)
The idea is to create a folder for each submitted form and store the uploaded files in that folder.
In the integration I need the FOLDER ID, is there a way to get the folder ID of the folder created by the integration?
While I do not know the exact output of the folder creating call, I am pretty sure that the ID is included in the response. Test the integration object and check the output.
OMG, yes i find the folder ID of the created folder in my integration to create the folder. thanks
In the integration to upload the files I need the FOLDER ID (the new FOLDER ID above).
In the "parent folder ID" field is where the file will be stored, how to call the FOLDERID of the new created folder?
Your integration node should have a variable "result" in the output tab. Assign "ac!result.id" to a process variable and use this for the following nodes.
Thanks Stefan, its done.
Another question, please:I have to process 2 models in the first one, I upload files when the form is submitted, then I create a folder and store the 4 files in that folder.In the second process model, I generate or upload a PDF after submitting a form. I want this PDF file to be stored in the folder that has been created in the first process model.
I managed to upload the pdf file, but not store it in the folder created in the first process model