Hi All,
Actually My Motto is to automate excel data into rpachallenge.com.I’ve stored excel data in Queue name(RPAChallenge). But when i’m trying automate it showing error like this.
Thanks & Regards
Jagadeesh
Hi All,
Actually My Motto is to automate excel data into rpachallenge.com.I’ve stored excel data in Queue name(RPAChallenge). But when i’m trying automate it showing error like this.
Thanks & Regards
Jagadeesh
Check what’s the data type of the LastName
variable. It must be a string type.
Thanks,
Ashok
Hie @jagadeesh i think it having some space inside the Last Name column Header thats why it throwing error after .tostring add trim function also like this .tostring.trim
try it and let me know …
write your code like this
Hi ashokkkarale,
The variable type of the “lastname” was in string.
Regards
Jagadeesh
Please share the screenshot of the assign activity what you are assigning and how.
If possible share the project xaml to analyze.
Thanks,
Ashok
Hi @jagadeesh
Can you try to update UiPath.System.Activities Package
Show us the variables panel
Regards,
Hey @jagadeesh its throwing error because while you add the data into the Queue… the column Last Name include space in the last . write as i share with you now it work for you as well
currentQueueItem.SpecificContent("Last Name ").ToString.Trim
challenge.xlsx (33.3 KB)
Regards
Jagadeesh
Hi Irterala
I’ve updated the UiPath.system.activities package. then i’ve runed the program then also it showing the same error.
Regards
Jagadeesh
You will not be getting Specific content with Get Queue Items activity. It will return you null Specific Content.
Why is it so?
It’s big topic to explain it. Refer my blog on this here: Troubleshooting Guide: UuPath SpecificContent NULL
Best practice:
If you have to use Queue
, you should be using ReFramework. Get Queue Items
activity isn’t the right way to process the transactions.
Still if you want to use custom workflow, use Get Transaction Item
activity. This will give you one transaction at a time which is in New state only.
After this use one If activity to check if Transactionitem isnot nothing
this will hppen when there is no new state QueueItems.
Still got any question? feel free to connect.
Thanks,
Ashok
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.