How to Get a list field values as comma seperated
SI Function:
inAListFied: function(incident) {
var userID = gs.getUserID();
var watchList = incident.getValue('watchlist');
if (watchList) {
var arrIncident = watchList.split(",");
var ListValues = (arrIncident.indexOf(userID) >= 0);
}
return ListValues;
},
Comments
Post a Comment