I am using REF which comes with built in sequence to read Assets sheet of Config file and then reading those Assets from Orchestrator through Get Asset activity, inside InitAllSettings.xaml.
I could see its fetching the assets of type Text just fine. But throws below exception while reading Asset of type Credential. Not sure whats wrong here. I double checked the Asset name in Config and in Orchestrator are matching. I see o/p variable of Get Asset activity i.e AssetValue is of type Generic. So does it work for reading credential type assets at all? Please guide me here.
/******************************************************************/
RemoteException wrapping System.Exception: Invalid asset type was specified for asset ’
{
0
}'.
at UiPath.Core.Activities.BaseAssetActivity.EndExecute(AsyncCodeActivityContext context,
IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context,
IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor,
BookmarkManager bookmarkManager)