Keep file folders in configurable file


#1

i want all the path that has been used in workflow and macro needs to be keep in configurable file .
is it possible in UIPath?


#2

Yes possible with Deserialize JSON / Deserialize Activity.
Example.zip (2.3 KB)


How to Publish Projects With External Config File?
#3

I’d recommend using Orchestrator assets for that. Check the Orchestrator guide for details.


#4

It’s not a bad solution but I think it is not very userfriendly. In the case I need to access a parameter in code, I have always to write the key of the element which i use from the dictionary. I will get only an error at runtime for example if I do a spelling mistake. Is there no way to define global constants? For example in the case I like to get a parameter from config dictionary I like to write something like ConfigDict(GlobalConstants.ImportDirectory).