- Config variable declared!
- out_Config argument declared with the value of Config variable
- out_Config is generated and filled with data.
It seems that Config is not used during Init or during Process Data but just only out_Config.
Even calling config.xlsx file, REFramework used “in_ConfigFile”.
So, my question would be…
- Is there any place where Config variable is used in REFramework?
- If not, how about just not declaring it and not using it so newbie like me gets not confused?
For example, in the pic 1, no need to declare. In the pic 2, no need to put as a value because it is empty and Out_Config is already declared as Dictionary type.
First, Config loads all settings.
Second, if you check arguments for the default Process.xaml workflow, you can see Config being passed in.
Next, check the InitAllApplications.xaml - you will need to pass in the Config
Technically, you can pass the Config values to be be used with any of your processes.
For example you can use the Config(“TimeoutMedium”).ToString and pass it into one of your xaml files to be used as a Timeout value for FindImage activity.
It isn’t a good idea to pass the entire config collection in and out of your workflows. That would be very inefficient because not all workflows will use all settings.
The question becomes, what settings are you storing in Config and how your’re going to use them in your processes?
Here is how Config is being passed to GetTransaction.xaml
Click on Init
You will find a series of activities
Open the one in the middle
You should find the entire sequence to load data from all 3 sheets from the config excel.