im using the REFramework and i created a variable inside the config file within the “settings” sheet.
Within the InitAllApplications file i invoke a file that needs the variable from the settings. So at the arguments i assign the Variable with “in_Config(“VarName”).ToString” as seen here:
I did not created it inside of the UiPath files. I only did it inside the config.xaml file. The before posted link only says to use Config("VarName").ToString to you use it.
Where do i have to create the variable? And if i do so, whats the point of the config file, if i need to create the variable within the code anyways?
I hope @mahrie you are passing that inconfig value to that invoked workflow acme login
So that direction is correctly mentioned as IN as you are passing INSIDE The workflow
Check with the INVOKE WORKFLOW file activity where you are reading the config file
There while importing argument you must send the config variable outside that workflow so that it can be used anywhere in the process
So that direction should be OUT
To be very simple
Whenever you are passing a value to a workflow through invoke workflow activity the direction should be IN
If you are getting some value from a workflow and try to using all over the project then the direction should be OUT
If You go to Main Page and check the variables under Variables,you will Find Config which is globally used across all workflows.
InitAllSettings fetches the values from the config excel and assigns it to Config dictionary.
So please use that variable and the error will go.
Since it is not getting the object,you are getting reference error