GGROW2DEVingrow2dev.hashnode.dev·Dec 11, 2022 · 2 min readServiceNow: 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 ...01S
GGROW2DEVingrow2dev.hashnode.dev·Oct 1, 2022 · 2 min readServiceNow: 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...01E
GGROW2DEVingrow2dev.hashnode.dev·Sep 27, 2022 · 1 min readUseful array methods in ServiceNowUseful methods00