ServiceNow: Check for duplicates in an arrayUse cases Check if an array contains duplicate values Options / Tools to achieve this every() some() filter() more will be added soon How To - Details: 1. Use every() with indexOf() /* ** @param (string) element - current element that is being ...1SDec 11, 2022 · 2 min readgrow2dev.hashnode.dev
ServiceNow: Is the user member of the group?Use cases Check if the following user is member of group 'xyz' the currently logged in user (such as user who creates an incident) a user set in a specific field (such as caller_id) Options / Tools to achieve this isMemberOf() method sys_user_g...1EOct 1, 2022 · 2 min readgrow2dev.hashnode.dev