Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

To populate message if selected user is "Inactive" seleted from reference field using client Script

lakshmi_laksh
Tera Contributor

I am having requirement that if selected user is "inactive" a message needs to be populated saying 'selected user is inactive' using OnChange client script on resource plan table and reference field refer to "sys_user" table.
Thanks in advance.

lakshmi_laksh_0-1714715647677.png

 

6 REPLIES 6

Vengadesh
Tera Guru

Hi @lakshmi_laksh ,

Its better to add a reference qualifier as "active=true", it will show only the active users.

AnimeshP_96
Kilo Sage

@lakshmi_laksh 
can you close the thread  if the query is resolved.


Please accept the solution /mark this response as correct or helpful if it assisted you with your question.




Regards,
Animesh