Skip to main content

I’m trying to create a simple process using a form to get three string inputs from a user AND a file. I’ve created a simple test bot that has the variables as inputs. Three string variables and one File variable.

On my form I have three text box inputs and a file selector input (all mandatory). I have all variables mapped to the variables in the BOT. The three text boxes are being passed in perfectly, but when I try to use the File variable in the test bot (for example, passing it in as the file variable for an Open Excel command) it does not work. I’ve checked the value of the File variable in a message box and it appears to be blank when I run this using AARI even though the other string variables are populated.

Note that it works fine when I just run the BOT and and am prompted for inputs including the file. What gives????

 

Hi @JMarino ,

 

If I am correct, the file name is saving as a dictionary-type variable, where you need to use both the name and extension key values in order to specify one particular file. Have you tried like that?


@Padmakumar I’ll try changing the variable in the test bot to a dictionary and use the name and extension when passing in from the form. We’ll see if that works!


Doesn’t work. The dictionary variables comes in as null. When I do a message box using name and extension the value is ‘null.null’


Clarification: my variable vReconciliationFile is a File type of variable in my BOT. I’m trying to pass in the value from the ‘Select File’ object on the form. Seems like a simple ask. There’s no documentation on how to do this properly.


Hi @JMarino ,

 

Please refer to this documentation on viewing files from an AARI Form through an AARI Process. Let me know whether it was helpful or not.


@Padmakumar Most of the documentation around files in AARI focuses on viewing the file (which I don’t need to do). So that was confusing to me. I had to really dig through and experiment with the BOT Action “AARI Web > Get Storage File” in order to use the file once it’s passed into a BOT. Not intuitive at all since the other variables come through once they are mapped. I was able to solve this using “Get Storage File”


@Padmakumar Most of the documentation around files in AARI focuses on viewing the file (which I don’t need to do). So that was confusing to me. I had to really dig through and experiment with the BOT Action “AARI Web > Get Storage File” in order to use the file once it’s passed into a BOT. Not intuitive at all since the other variables come through once they are mapped. I was able to solve this using “Get Storage File”

I guess you meant to say “Process Composer>Get Storage File”


Reply