It’s in Level 3 - Advanced Training, first assignment. I’m strucked:
"The Config dictionary is already used as input argument in the InitAllApplications.xaml
workflow, so let’s change the filename path to in_Config(“UiDemoPath”).ToString. Next,
we need to invoke the UiDemo_Login workflow, import the arguments, and pass the
Credential from the Config dictionary, as follows: in_Config(“UiDemoCredential”).ToString."
The first task: change the filename path to in_Config(“UiDemoPath”).ToString, I have done it succesfully.
But I can’t work out the seconed one.
Because the 2 tasks are very similar, I can’t figure out why. So I trying to write a loop to see what’s in side in_Config after initSetting.
I write both “UiDemoPath” and “myCredential” in the assets sheet of config file and create asset accordingly.
The outcome of the loop shows only “UiDemoPath” was in the dictionary, but not “myCredential”:
However, I keep everything the same, only delete the “myCredential” in Orchestrator, then recreate it as a text type, not credential, rerun the test, myCredential is in the in_Config this time! When I change myCredential back to credential asset type, it not there again.
Why?
By the way, I have checked the in_Config type is system. Collections.Generic.Dictonary<System.String, System.Object>.