Someone please tell me what’s wrong with my below code. I am new to this Uipath.
Now I am trying Assignment 1 from Level 3.
While trying out the assignment, first I encountered with the following error:
“System error at initialization: The given key was not present in the dictionary. at Source: mscorlib”,
But later it is resolved. Now I can see that my login workflow inside InitAllApplication, doesn’t run at all.
and it directly moves to Get Transaction state. Since I am yet to work on Get Transaction, it is giving error.
But why login is not working? If I run login workflow separately, by harcoding the URL, it works properly.
I am stuck in this since 2 days, not getting any solution. And please let me know, the way I have passed in_Config argument from init state to initAllApplication to Login to System1 is proper or not?
You dont need to use the password and email arguments for this as its not required. Also you have created them as ‘In’ type which means you have to assign them values during invoke which you wont have at that time as you are using GetAppCredential inside.
In the getAppCredential you have not mapped the in argument for Credentail argument
You have created same names for your ‘email’ and ‘password’ arguments as well as variables. This is incorrect.
As a standard use in_ or out_ for arguments to better readability.
I have made changes as per your suggestion. But I am getting error for invoke GetAppCredential.
Please refer the attached screenshot.
Is something wrong here?
Hi Nadim , level3.zip (1.8 MB)
can you help me with workflow. it’s been more than a week I am struck this problem, i have followed all steps mentioned in walkthrough but still it is giving me an error saying - system error at initialization. I have attached the error screen shot and my workflow. please help me with my error . Thanks in advance
The Value for your Argument on the Invoke Workflow File of Uidemo_Login.xaml that is inside of the InitAllApplications.xaml needs to change as follows:
Current Value: “UiDemoCredential”
New Value: in_Config(“UiDemo_credential”).ToString
Also, the value in your Config.xlsx file (Uidemo_credential) needs to match the name of your credential asset in Orchestrator.
Thanks for Replying.
I have changed the values in Uidemo_login.xaml as you said it is now opening uidemo application and entering the credentials in application . it seems INIT is working fine . But now it has thrown an another error please have a look at attachment.
L3A2-lastes- to send.zip (2.2 MB)
Hi Nadim, I had invested more than 1 month on this assignment still not able to resolve this issue. donno why but every time it is processing only one transaction(WIID) in a loop.i have attached my entire code , if you run you will find only one WIID client details are getting pasted in SHA1 website every time.
@armamidwar Please check when Invoking SetTransactionStatus workflow under finally section of Process Transaction State you are passing correct arguments.
In that Workflow only TransactionNumber will be increased by one as I/O Parameter.