var user= current.requested_for.getRefRecord(); //Returns the GlideRecord for the value populated in the 'requested_for' field if(user.isValidRecord()) { user.email = 'test@test.com'; user.update(); }
How to update record using 'getRefRecord'
admin Changed status to publish December 19, 2023