How to get the setting from config file to a variable in UiPath Studio?

So i can give you a brief of the process to help you understand.

  1. You added the entries in the config file
  2. When you run the reframework or how its built is that it reads the config file when it runs and creates a Dictionary (Key-Value) variable that is already defined in the framework.
  3. The variable is available globally through out the process as Congif in Main and in_Config in all the sub processes.
  4. So when you want to use the value of key System1URL all you need to do is write a expression in_Config(“System1URL”).toString and it will give you the value.
  5. In the framework you actually create variables for these values in the invoke workflows lie in_system1url and you assign the above expression to it.
  6. Then inside in open browser you use in_system1url and it done.

Let me know if its helpful

10 Likes