The CreatorCon Call for Content is officially open! Get started here.

Intermittent issue in accessing password2 type field from system properties

Anish Somadevan
Tera Contributor

I have a record in System Properties of type password2 and use it in a business rule as shown below

 

var token = gs.getProperty('my_token');

 

This always works fine in ServiceNow PDI Vancouver release. However, it fails to read it intermittently in Washington DC release PDI. Interestingly enough, when I create a new random record in System properties of type password2 the issue gets resolved automatically and there are no errors in business rule executions.

 

I am not sure what could be the reason for this behaviour. I have noticed a new system property in Washington release PDI that's not available in Vancouver release - glide.crypto.core.features.cache  which seems to get updated everyday in an automated fashion by the system. I don't know if this is anyway related to the issue. Also, some of the PDIs used by my colleagues were upgraded from Vancouver to Washington, but the password2 type record was created in former one, and so I suspect the cryptography or key management framework being not compatible (although it works at times).

 

Can someone help me understand why is this issue occurring and how to resolve it.

 

Regards,

Anish

0 REPLIES 0