How to mask property value in Clipboard

We have requirement to store actual value in DB as exposed column but mask it when opened from clipboard. Using PropertyRead does not mask value in clipboard. It masks in Reports and UI. We want to use this for RPA.

@ramak2559

Verify if this function helps you in your scenario .

pxGetMaskedValue_Text

Thank you

@ramak2559

You need to use PropertyEncrypt access control policy in Pega Platform.

The property is encrypted in the database, clipboard, logs, and search indexes. If there is no PropertyRead policy that obfuscates the property, the decrypted property value is visible to the user in a UI control. The property is automatically encrypted when a value is assigned to the property and saved to the database.

@SrijitaB We do not want to store encrypted value in database.

@ramak2559 May be you can use this function to mask full value on clipboard.

@pxGetMaskedValue_Text(local.instring,“FullTextMask”,0,“”,0,“*”)

@ramak2559

please use pxGetMaskedValue_Text to mask text value