Mapping Error on submission of form if the field mapped from variable is Encrypted
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
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".
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Use the Record Producer's Script field. Remove the "Map to field" on that variable, and add this in the Record Producer's Script:
javascript
(function() {
var encryptedValue = producer.variables.your_variable_name.toString();
if (encryptedValue) {
current.your_encrypted_field = encryptedValue;
}
})();
