Error and Warnings found in REFramework_with_queues project

project.json (3.1 KB)




Hello people :pray: . Workflow Analyzer has found this. How can I fix it, please? Thank you!! :raised_hands:

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

Hello friend, thank you. I have changed to String but new errors have been found.

@Federico_L

you need to change the option to standard in the typeinto activity

if you use string

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. :pray: :pray: :pray:

If I keep the SecureString type and choose Standard and type the password manually, WA gives me this. :pray: :pray: :pray:

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


project.json (3.1 KB)

Thank you for the responses, I am getting more errors.

Hello, I tried this but I get this errors.

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

  1. You can create a new variable and pass the
    Like this = new system.net.networkcredential(string.empty, password). SecurePassword… And variable type is SecureString

For the refernce please see attached images


Screenshot 2023-08-17 112256

For me it’s working…

hope it will work now… CheersCheers @Federico_L

:pray: :pray: :pray:

Hello @Federico_L
You can keep the password variable type in
string

@Federico_L

one question for you

can you change the scope of Your Password variable to sequence level,
if done let me know

@Federico_L

You can try this way i have done same it working for me

@Federico_L

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. :pray: :pray: