remove duplicates from an array and get unique values
var text=[]; text = new GlideRecord("sn_hr_core_hr_tasks_per_case_type"); text.addEncodedQuery("u_task_visibilityLIKE" + topicCat + "^ORu_task_visibilityISEMPTY"); text.addQuery("u_generation_type", "manual"); text.addNullQuery("u_auto_group_pref","t...
