How to make a dependency field for this table ?

1dusjhyahnt
Tera Contributor

Hi Guys , Please Help me this is urgent 

 

How to make a dependency field for three field in single table means when we select A , Automatically B triggered when we select B then automatically C triggered

Screenshot 2024-01-26 at 3.36.13 PM.jpeg

17 REPLIES 17

Hi @1dusjhyahnt 

 

Any specific reason for using Client Scripts ? You can easily do it with the auto-populate feature without writing a single line of code. 

 

Thanks & Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.

Hi Amit 

 

Hi @Amit Verma 

Please help me i have a doubt "Auto Populate features only used for requested for in catalog item Variable?"

 

Hi @1dusjhyahnt 

 

Where do you have these variables being used ? Are they used on a catalog item or on a Record Producer to your custom table or on a Service Portal page populated via widget ?

 

Thanks & Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.

Hi Amit 

 

this variable used in catalog item , see the image attached 

Hi @1dusjhyahnt 

 

If it is a catalog item, then the auto-populate feature will work like a charm. Refer below articles which explains in detail how it works on catalog item variables and you should be good to go.

https://www.servicenow.com/community/developer-articles/auto-populate-a-variable-based-on-a-referenc...

https://www.servicenow.com/community/developer-articles/auto-populate-reference-data-in-service-cata...

 

Thanks & Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.