girish91
(girish)
July 12, 2019, 11:17am
1
Hi Team,
I want to add the name and asset into the dictionary, tried this inside for each after reading the assets sheet but “get asset” throwing an error, I displayed the value prior get the asset activities it is showing but failing in the get asset activity, please find below screen shot:
assets in sheet:
lakshman
(Ganta lakshman)
July 12, 2019, 11:22am
2
@girish91
You have to try like this to read asset value from config file and here Config is of type dictionary.
Config(“url”).Tostring
girish91
(girish)
July 12, 2019, 11:25am
3
Hi Lakshman,
It is getting the value from dictionary, I want to add the excel values into dictionary. this case it is single value but it may be multiple assets.
Thanks
Girish
girish91
(girish)
July 12, 2019, 11:30am
4
below assignment statement used after the get asset to add into dictionary:
lakshman
(Ganta lakshman)
July 13, 2019, 2:25am
5
@girish91
Try like this in Assign Activity:
out_Config(row(“Name”).Tostring.Trim) = row(“Asset”)
Here, out_Config is of type Dictionary variable.
1 Like
girish91
(girish)
July 15, 2019, 11:28am
6
Hi Lakshman,
I tried this but not working.
Thanks
Girish