I am trying to use an activity that has a parametrer that typed like SecureString.
I need to assign some string to that parameter, but I can not do it.
I am having the exception “A string vlue can not be converted to SecureString”… or somthing…
Can you please help me?
Thank you
Very bad and unproficient (!) answer as the question is exactly opposite - How to assign value for parametrer of SecureString type inside UiPath workflow with pre-defined string value.
It seems it is impossible to do this with current set of standard UiPath Activities, as all of them use only string types for input.
I propose UiPath should increase functionality of Assign activity with possibility to assign some string to a parameter of SecureString type.
Hi @pcainzos,
Kindly create a variable in Securestring datatype, and assign the below mentioned function to the variable, Find out the below mentioned screenshot for your reference.
= New System.Net.NetworkCredential(“”,stringvalue).securepassword.