Sagar Pagar
Tera Patron

Hi @servicenow14710,

 

You need to use the ArrayUtil to get unique elements. It removes duplicate elements from an array.

var uniqueElements = new ArrayUtil().unique(arrayName);

 

For reference - ArrayUtil 

 

Thanks,

Sagar Pagar

The world works with ServiceNow

View solution in original post