I am stuck with the Security Hash case in the Advanced Academy.
In the System1_Login workflow, I have the in_System1URL argument for which I should put a default value (the website address) to be read from the Config file.
Unfortunately if I put as a default value the website address directly, instead of reading it from the Config file, I get an error when I invoke the System1_Login workflow in the InitAllApplications workflow.
thanks for your reply. Actually I am running InitallApplication itself, I am not invoking it.
I ran debug mode with no luck. The exact activity that throws the error is “Invoke Login_System1”.
In “Main” yes, I am passing Config, but currently I am focusing on InitallApplication and not on main. In attachment below, just the portion of the case with InitallApplication. Could you please have a look, by running InitallApplication?
I think i got the issue. Under your ‘InitAllApplications’ workflow, you are invoking ‘InitAllSettings’ and storing the config values in a variable called ‘out_config’. However when you invoked ‘System1_Login’ you are passing the values of arguments from ‘in_Config’ which is an IN argument of ‘InitAllApplications’ and will be empty, Replace it with ‘out_config’ for now if you want to test. However in the actual case it has to be passed from main.xaml into in_config only.
thanks for your help. That’s awesome! However I think the problem is deeper than that. If you now run “Main” on the case below (please download this new version here), it returns an error in the same place “System1_Login”. This time the error is “The given key was not present in the dictionary”.
thanks for your help. I did it and they are the same, except the “in”. In attachment the config file I’m using. Can you spot an inconsistency that I couldn’t find?
returning the following error: System error at initialization: The given key was not present in the dictionary. at Source: Invoke workflow file: mscorlib
if it can help, please find the case in attachment: test.zip (3.3 MB)
Too many changes needed in the workflow, you should try to get credentials from Orchestrator asset instead. Secondly you are not passing In Argument to Login Workflow from Init State. There are no credentials to use for Login
the thing is, the tutorial suggests that in “Invoke initallapplications workflow”, I should only pass in_Config. But now you are telling me to pass, in “Invoke initallapplications workflow”, also an argument to Login workflow. How? If you could help it would be really appreciated.