Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2024 07:40 PM
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