How to use asset value to input text?

Dear Experts

I have set Asset account & password in OC and use it in activity

However, when I input password_OC without “ToString”, there will be error
When I put password_OC with “ToString”, the input in website box is [System.security.securestring]

May I know how should I set it right?

image
image
image


image

image

Thanks and regards

Hi @yangyq10

Give the below expression in Type Into activity

(New System.Net.NetworkCredential(String.Empty,Password_OC)).SecurePassword 

Regards,

@lchirathapudi

Thank you for the quick reply
But it pops up error again
Can you help further check?

image

@yangyq10

Can you try to give like below

image

Give Password_OC

Regards,

@lchirathapudi This is the magic key!! Thank you for helping me out!!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.