GlideList not editable after writing code in calculated field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2025 12:05 AM
This code is working properly , i want to ask an alternative i.e after writing script is there any possible way to edit the Glidelist ?
(function calculatedFieldValue(current) {
var userList = [];
var id = current.sys_id;
var gr = new GlideRecord('sn_install_base_sold_product_related_party');
gr.addEncodedQuery('sold_product=' +id);
gr.query();
while (gr.next()) {
if (gr.contact) {
userList.push(gr.contact.getDisplayValue());
}
}
return userList.join(',');
})(current);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2025 12:51 AM
You could just make it a before insert BR to fill it by default so you can change it after it is initially set.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark