How to use config excel file from orchestrator assets.?

Hi Team,
Good evening!!

I want to use config file from orchestrator asset in the from of json.

please let me know steps to follow. like excel config file to convert to json
then upload on orchestrator asset

access in workflow

@Sanket_Shinde1

Just save the json string in an asset and then retreive the asset using get asset and then deserialize the json to access it

Cheers

1 Like

Hello @Sanket_Shinde1
Kindly refer to this thread,

1 Like

Hi @Sanket_Shinde1

→ You can copy your json content as-is to a Text Asset and save it in the Orchestrator.
→ Use Get Asset activity in the Studio/Robot
→ Use Deserialize Json activity and access your specified keys in your Json string (config) (You can find this activity in UiPath.Web.Activities package from the offical feed).
This is extremely fast and has worked really well for us. Is fast, scalable and not the least, reliable.

Advantages:

→ Your text asset can be easily manipulated before running your process either manually or programatically. For example, you want to add more config parameters to your json, just go to orchestrator and edit the asset or edit the asset via the robot at runtime.

→ Your json string can be pasted as-is with double quotes, which is a must for json string. Orchestrator takes care of encoding characters.

→ Using json config can store many config values within it and makes it easy to move from dev to prod environments.

→ You only call the Get-Asset once per runtime to get all the parameters the robot needs

Disadvantage:

→ Deserialize is a must in studio or robot to get the values. Can be little work to set it up, but once you do, you can forget it!

1 Like

content is taken from: Upload json config file to Orchestrator - #8 by jeevith

1 Like

Thank you so much Guys

Cheers!!!


@Sanket_Shinde1
May we ask you to mark @Gokul_Jayakumar’s post as a solution since he was the first to reference the post that helped you. I have only made the original source transparent to the copy-paste post above my post. Thank you very much for the support.

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.