Auto populate CI on catalog item.

Prashant Kumar6
Giga Guru

Hi All , 

 

Is it possible to auto populate the CI field on Catalog form? 

Requirement :  I need to auto populate CI (variable with ref to [CMDB_CI]) field as  "ANNIE_IBM" when a particular form loads up. 

Thanks in advance.  

 

1 ACCEPTED SOLUTION

Hi @Prashant Kumar6 

 

No, you need to script for this with if else condition but OOTB 1 value at a time. 

*************************************************************************************************************
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]

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

View solution in original post

6 REPLIES 6

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Prashant Kumar6 

 

Yes, you can create variable and refer to cmdb_c table and in default tab, out the sys_id if this CI. 

*************************************************************************************************************
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]

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

Hi @Dr Atul G- LNG 

 

Thanks for your reply!

Sorry I didn`t get that correctly, What do I have to do in Default tab please?

Hi @Prashant Kumar6 

 

AGLearnNGrow_0-1708694372050.png

 

*************************************************************************************************************
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]

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

Hi @Dr Atul G- LNG 

 

Thank you , I will accept this as SOL, Just one one more thing , Can I make this dynamic as well? Take an example for 5 different forms 5 different CIs(have to use in Order guide), where CI field is common and coming from a variable set?