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.

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

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @JVINAY 

 

You have already has answered this question. 

 

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)

Atul: Reference type and refer to BA table.

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

Atul: Is it yes or No?

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

Atul: Is it Yes or No?

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

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/atul_grover_lng [ Connect for 1-1 Session]

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

@Dr Atul G- LNG 

Thanks for your Quick response.

Last 2 question:.

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

Which Variable type should be used : Reference ? refer to Central Intake table 

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 : Reference ? refer to CloudIntake table 

As per requirement user needs to select the CIR in Central inatake ( u_cloud_intake_request) and Cloud task table (u_cloud_intake_task)

Kindly help me how can i achieve this.

Thank you.

 

 

Hi @JVINAY 

 

You can pick up reference for both as you are referring to the table and set the dot walk to see the particular field from the table.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

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/atul_grover_lng [ Connect for 1-1 Session]

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

Community Alums
Not applicable

Hi @JVINAY 

You can use below details to achieve the requirement:

Question 1: Is this consult/inquiry associated with a business application?

variable type : referenece and reference table to cmdb_ci_business_app.

 

Question 2 : Is this consult/inquiry associated with a CIR

variable type: reference and referenced to u_cloud_intake_request (Custom table in your instance).

 

Question 3 : Is this consult/inquiry associated with a CIR:

variable type: reference and referenced to u_cloud_intake_task (Custom table in your instance).

 

again to auto-fill behavior using a Catalog Client Script or UI Policy to dynamically pull data based on the user's selection or context.