I am trying to perform RPA Challange using RE Framework. I am using Assets and Queue instead of config sheet to fetch the values and perform the transactions.
I am getting this error “Type Into- First Name: The given key was not present in the dictionary.” while running the code. Please suggest the solution. I have attached the code for reference.
@Anamika15 I think the problem is in the Add Queue Item Activity You are having “First_Name” (Double Quotes are present) as the argument name in it, but you are accessing the Queue Item in the Process as just First_Name (Double Quotes Not Present). The same name should be used to get the Data using the Queue Item Result retrieved from the Get Transaction Item. To make it simple you can just remove the “” in all the arguments in the Add Queue Item Activity.
Thanks for the response… But modifying Queue collection as per your suggestion is not working. Getting the same error “Type Into- First Name: The given key was not present in the dictionary.” Please note that Multiple Assign activity in Get Transaction Data is disabled.
I guess there is some error in the Get Transaction Data and Process Data.
@Anamika15 This might be causing the problem, Can you Delete the Queue and Create it again so when you run the Workflow the Queue will have new items which will contain the keys without the Double Quotes. And then it should be possible to access the Values in the Process part.
Make Sure in Add Queue Item Activity the argument names do not have double Quotes