Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2024 04:40 AM
Update the script as follows.
var assignedTO = current.getValue('assigned_to');
var listField = current.getValue('listColletorUsers');
if(listField.indexOf(assignedTO)==-1){
listField =listField+',' + assignedTO;
current.setValue('listColletorUsers',listField);
}
Hope this works for you.