Not applicable

Glad it helped! Yes, your method for sure makes more sense.



It's not considered best practice to use GlideRecord in a client script, so a GlideAjax call would be best when using client script. The other option, which may be even better, as it's less code, and all server side, is the before business rule mentioned in the other two replies on this post.



Cheers,



Tim