Dynamically select a Folder or Queue in the "Add Queue Item" activity

Hello, UiPath studio’s activity “Add Queue Item” seems to only allow Folder and Queue selection through a dropdown list.
I’m working on a Dispatcher/Performer template and would like to dynamically chose the Folder and Queue with a variable but I’m getting a bad request error. Otherwise, the selection of the Folder or Queue through the dropdown list works fine.
Here’s a screenshot of what I’m trying to do:

Specs :

  • Studio 2025.0.161
  • Modern Folder
  • Windows 11

Click open in Expression editor or Use variable option to dynamically pass Queue/Folder Name

1 Like

Awesome thank you very much.
This brings me to another problem in the Add Queue Item activity: the number, names or value of key-value pairs can change depending on the needs of the process.
Isnt there a way to add dynamically items ? Like a dictionary for each item ?
I maybe should have opened another discussion but this second question is kind of an extension to the first one.

1 Like

Certainly you can add dynamic items to queue, like dictionary or json/xml for more structured data.
In the collection field you can select the Type you want to upload to the queue.

If you still have question, this would be better to open a new thread so that other people can comment and find relevant solutions.

If this solves your problem, mark it as Solution so that it help others. Cheers !

Thank you for everything. I’ll mark the thread as solved.
Have a nice day

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.