- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2026 10:31 AM
We have a encrypted field on case table and we need to map that field with Record producer variable from map to field in the variable. After mapping we are getting error "Invalid attempt. Encrypted data could not be saved".
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2026 11:19 AM
Use the Record Producer's Script field. Remove the "Map to field" on that variable, and add this in the Record Producer's Script:
(function() {
var encryptedValue = producer.variables.your_variable_name.toString();
if (encryptedValue) {
current.your_encrypted_field = encryptedValue;
}
})();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2026 11:19 AM
Use the Record Producer's Script field. Remove the "Map to field" on that variable, and add this in the Record Producer's Script:
(function() {
var encryptedValue = producer.variables.your_variable_name.toString();
if (encryptedValue) {
current.your_encrypted_field = encryptedValue;
}
})();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2026 03:04 AM
Thank you so much for the quick response this piece of code work's
