When using Get Asset or set Asset, I’m passing the asset name from config (i.e.) I’m not picking it from the list of Assets in drop down but using Advanced editor and passing the asset name from config. While doing this way, the value of the asset is picked as the Asset name.
For example, I have asset as below.
Asset Name: App_URL
Value: www.abc.com
Now when using Get Asset, am using the activity as below.
I’m not sure why the value “www.abc.com” is considered as Asset name here. It searches for the asset named “www.abc.com” and finds nothing. I am expecting the BOT to search for the asset “App_URL” here.
You have the value in the wrong config sheet/tab. Its currently in the sheet “Assets”
Move the below to “Settings” tab.
Another option:
Keep the config file as is, then skip the lookup Asset part (your 1st image) as you have already done that step (at the start of the process at Init).
Adding it to “Assets” tab = same as the “Get Asset” activity.
Thanks for your response. I would like to keep it in the Assets sheet as part of some coding standards.
Considering the second option you provided, yes that helps actually. But in case of updating a asset value, I would want to use the Set Asset activity. Is there a way I can update the asset value without using ‘Set Asset’ activity because ‘Set Asset’ activity also returns the same error as I have mentioned in the question.