Hello,
When ever I run my file in studio I am getting the below error. Can you please help me on this issue:
Source: Add Queue Item
Message: Queue Name may not be null or empty.
Exception Type: System.ArgumentException.
Screenshot:
Hello,
When ever I run my file in studio I am getting the below error. Can you please help me on this issue:
Source: Add Queue Item
Message: Queue Name may not be null or empty.
Exception Type: System.ArgumentException.
Screenshot:
Hi @rana.annabathina
Short answer:
Your variable is null/empty because your default value is not a string value, but a self-reference.
Explanation:
In the “Variables” panel, you have initialised the variable as DemoQueue
, not as "DemoQueue"
.
Since it is not surrounded in double quotes, the “default value” is the same variable, which - paradoxically - also happens to be uninitialised, and hence the issue.
Initialise the variable with the value in double quotes - "DemoQueue"
.
Also, if you change the name of the variable to something like QueueName
, the conflict will become more apparent and will be less confusing for you.
I hope this helps.
Cheers!
Hello, I did exactly as u said by changing variable & Queue names but I am getting a different error now:
Source: Add Queue Item
Message: TestQueue does not exist. Error code: 1002
Exception Type: UiPath.Core.Activities.OrchestratorHttpException
You have DemoQueue as a variable. If you want it as a literal string put double quotes around it.
Why would you do it the exact way he showed you? Your queue is named DemoQueue not TestQueue. Put DemoQueue as the value of QueueName.
Hi @postwick ,
As I said I have changed Queue and variable names, queue name has been changed to TestQueue. I have actually created a whole new process if you can see the screen shot I posted you can see orchestrator picture as well in which you can see the newly created Queue name(TestQueue). Excuse me for the confusion created here. That being said every thing now is clear as @RPAForEveryone said.
Thanks!!
if you’re still facing the issue. please follow the below steps.
Thanks
Hi @satishkr6391,
I have added arguments in ItemInformation property as shown in the below screen shot and I think all the details I have given in Queuename property field, variables field and in the orchestrator are correct but still I am facing the same issue, can you please help me out?
I got to know the exact cause. Kindly check the workspace your studio is pointing too. Click on the right bottom and see the orchestrator workspace. Refer the below image for stuido.
Make sure you have created your queue in the same workspace to which your studio is currently pointing to. Refer the below image from orchestrator.
let me know if you are still facing the issue.
Cheers
Hi everyone,
This issue has been resolved by just linking all the folders available in my orchestrator.
In Detail,
Hi @satishkr6391, my issue has been resolved in a different way which I have mentioned in the above comment.
Thank you for your response
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.