project.json (3.1 KB)
Hello people . Workflow Analyzer has found this. How can I fix it, please? Thank you!!
project.json (3.1 KB)
Hello people . Workflow Analyzer has found this. How can I fix it, please? Thank you!!
Hi @Federico_L
You need to convert password in to string because the password is in securestring
Before passing in type into take assign activity
Password = new System.Net.NetworkCredential(string.Empty, your varaible ).Password
Hi @Federico_L
You need to limit the scope of the type into activity,as you mentioned it as a entire workflow level
For information about this error look into the below link
https://docs.uipath.com/studio/standalone/2023.4/user-guide/st-sec-008
You can keep the password in securestring only
Before passing into type into you can create another variable and pass the above condition which i have given or else change the option secure to standard in type into
I changed to Standard and typed the password (which I think is simply “password”), and WA threw this.
If I keep the SecureString type and choose Standard and type the password manually, WA gives me this.
str_password=new System.net.NetworkCredential(String.Empty,Password).Password
str_password is the new variable pass this in the type into
Password is the your varaible
hope this helps
You can try this before type into
Variable = new System.Net.NetworkCredential(“”, “your passwoed”)).SecurePassword
Str_password replace it with StrPassword
Make assign activity Display name as Asign secure string to string
3.in the properties of type into activity
in the input options pass the value of StrPassword in place of Text and remove the value in the
Secure Text
4.check the Scope of Secure String variable which is Password,Try to make the scope to Sequence Level not Workflow level
I was sharing the screen shot do the same way
1.First create a string variable like this
Password= 12345678 and variabletype in
string only
For the refernce please see attached images
For me it’s working…
hope it will work now… CheersCheers @Federico_L
Hello @Federico_L
You can keep the password variable type in
string
one question for you
can you change the scope of Your Password variable to sequence level,
if done let me know
You can try this way i have done same it working for me
this should be done so that your error will be resolved
project.json (3.1 KB)
This is the current state of the project. Thank you, but still can’t find the solution.