How can I set the default Value for the activity Select Item?

Hello all,
so this will be my first question and I hope I am doing everything right. (feel free to give me feedback) Also I am very new to UiPath and all the realted stuff (Coding, etc.) so please take it a bit easy on me, thank you!

So my current situation is the following:
I have a drop down menue with 5 different options. I selected the “Select Item” activity and created a argument as a string and default value e.g. “Test” in that scope.

So far so good but when i was testing it said that the variable “Value does not fall withing the expected range.”
What can I do, so it has the right default value to select the correct option?

@GreenLeaf

can you share the select Item activity screenshot with dropdown

is the default values which you are passing in the argument is present in the dropdown or not

Can you check it once

Cheers

@Shiva_Nikhil
unfortunatly I can not share the origin project but I build a compareable project as you can see on the Screenshot. In this case everything works like expected …
Yes the default value is present in the dropdown BUT I changed the default value to another Option and it worked. I guese the reason for that was the letter “ü” which caused the problem.
Anyway thank you for helping, because with your question i found my mistake.
Do I have to close the thread, mark your question as the answer for mine, or do I have to do anything else?

Cheers

@GreenLeaf

Cheers

Happy automation

1 Like

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