We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Create new Variable and auto fill

JVINAY
Tera Contributor

Hi Team,

My Requirement :

I need to Create 3 variables and auto fill .

Requirement:

please include the following questions and automatic fill in:

Question 1: Is this consult/inquiry associated with a business application?
Answer: Field selection from AppLab APM listing
Field display from selected: APM# - Business application name (cmdb_ci_business_app)

Question 2 : Is this consult/inquiry associated with a CIR:
Answer: Field selection of CIR - Central Intake [u_cloud_intake_request]

Question 3 : Is this consult/inquiry associated with a CIR:
Answer: Field selection of CIT - Cloud Task [u_cloud_intake_task]

 

Which Variable type should be used ?

Please help me , How can I achieve this.

 

 

 

17 REPLIES 17

@Community Alums 

Thank you for your Quick response.

for Auto fill , help me sample catalog script or UI policy condition.

 

Thank you..

Not applicable

Hi @JVINAY You can take any example of on-load client script with glideAjax.

reference link: https://www.servicenow.com/community/hrsd-forum/onload-catalog-client-script-not-working/m-p/3154511...

 

 

Dr Atul G- LNG
Tera Patron

Hi @JVINAY 

What do you mean by auto fill, at page load or based on other reference value?

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

@Dr Atul G- LNG 

What do you mean by auto fill:  based on other reference value?

 

Thank you for your response.

Like If you select user, then the user location get auto populated in next variable.

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************