When i am adding queue items in initialization and state and then i am trying to access those queue items in process state i have created this seperate sequence to add collection to webiste but i am consistently getting this error will someone take alook
Can you share how are the key names present in the queue. What is the syntax you have written.
Regards
While adding in init state whatever collection name given that name should be given inside the double quotes
Try this.
Out_TransactionItem.SpecificContent("""Collections""").ToString
If don’t wok, share Specific content screenshot to see how it’s stored.
Thanks,
Ashok ![]()
this is the syntax i am using in add queue item activity under iteminformation
this is the for each row in data loop i am using to add these unique collections i have filtered from dt_input data table
this is the syntax i am using in add queue item activity under iteminformation
this is the for each row in data loop i am using to add these unique collections i have filtered from dt_input data table
You need to give Collections in double quotes. You can give it normally while add queue item
In Type Into
Out_TransactionItem.SpecificContent("Collections").ToString
Regards
I tried to replicate it and it was showing " at start if I pass "Collections in Add queue item. I’m able to retrieve it by this.
trItem.SpecificContent("""Collections").ToString

Thanks,
Ashok ![]()
You should be adding queue item key as plain text like this.
If uses this below code will work.
Out_TransactionItem.SpecificContent("Collections").ToString

If you want to continue using your existing Add queue Item logic which I would not advise:
Use below code to get SpecificContent Collections:
Out_TransactionItem.SpecificContent("""Collections""").ToString
Thanks,
Ashok ![]()
Thank you it worked … But could you please help me with reason why i had to use trItem.SpecificContent(“”“Collections”“”).ToString si there any mistake i had made while adding queue ?
Glad it worked! Kindly close the thread by marking my answer as solution.
Yes, you are adding it incorrectly. Explained the difference here: Getting issue while trying to access Transcation item - #9 by ashokkarale
Thanks,
Ashok ![]()
Thank you @ashokkarale I am new to UiPath Tool… Really Appreciate you efforts :).
You are welcome. You can connect over LinkedIn as well. Lets learn together ![]()
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.



