How to convert secure string to string in uipath

try changing the scope of your variable to the right scope, or if its an argument the go to the variables panel an right click your variable and click on convert to argument and the change the direction to out

Regards!