If you are on a version after Dublin, then you will need to remove the package call from the script, replacing it with:



var myUserObj = new GlideUser.getUserByID(myUserSys_id);



Best regards,
David