Generate Random Password without special characters

Hey Guys,

I am using UiPathTeam.GenerateRandomPassword.Activities [https://gallery.uipath.com/packages/UiPathTeam.GenerateRandomPassword.Activities/] to generate random password. I want to generate the password string without special characters.

I see there is a field “Required special characters”. Even if I leave that field blank or I enter value “0”, I still get special characters in my result. Is there a way to generate the random string without special characters? Kindly let me know.

Hi Siddarth,

tl;dr try to input " " (string containing just a space) into the allowed special characters field. This should solve the problem.

I recently encountered the same problem as you.

I tried to put “” (string with nothing in it) into allowed special characters field to indicate that I did not want any, but this didn’t work. I then tried to input the word nothing into the allowed special characters field but this still didn’t work.

Finally, I was able to workaround the problem by inserting " " (string containing just a space) in the allowed special characters field.

I think that if you put nothing, null, etc. into the field, it treats it as “not provided” and allows every special character. Having a space makes the activity recognize that you have inputted something into the field.