trying to achieve this ask in PA.. what are the exact steps to achieve
Function to recursively fetch subordinatesfunction getAllSubordinates(managerId, subordinates)var gr = new GLideRecord('sys_user');gr. addQuery ( 'manager', managerId);gr - query);while (gr.next()) (var userid = gr. sys_id.tostring();if (!subordinate...