Create drop down field in incident table

Purushotham1992
Tera Contributor

Hi ,

 

--> Create Field "Point of Failure" Drop down 
1.Internal to Core Network 
2. External before 
3. External at or after 

if 2 or 3 is chosen from the "Point of Failure" field a new drop down box should show under the Point of Failure called "External Location" that is Required

 

--> Create field "External Location
1. External location- In local LEC network
2. Other

 

If 2 (Other) is Chosen on the External Location field

-->Create a Free Form text box ( 150 characters) Called "Explain External Location" this can be placed under External location and Should be Required.

 

Thanks in advance 

1 ACCEPTED SOLUTION

swathisarang98
Giga Sage

Hi @Purushotham1992,

 

Please follow the below instruction,

Creating the 3 fields

1.Navigate to incident.LIST table

2.Configure Form Design 

3.Create 3 fields 

swathisarang98_0-1708960026905.png

Adding Choice value for each field of type Choice

1.Load the incident record page

2.Right click on "Point of Failure" -> Configure Dictionary

swathisarang98_1-1708960231200.png

3.Add choices

swathisarang98_2-1708960349404.png

swathisarang98_3-1708960416397.png

Create UI policies (2)

1.if 2 or 3 is chosen from the "Point of Failure" field a new drop down box should show under the Point of Failure called "External Location" that is Required

swathisarang98_4-1708960744537.png

 

 

2.If 2 (Other) is Chosen on the External Location field

-->Create a Free Form text box ( 150 characters) Called "Explain External Location" this can be placed under External location and Should be Required.

swathisarang98_5-1708960883974.png

 

Please mark this comment as Correct Answer/Helpful if it helped you.

Regards,

Swathi Sarang

 

   

 

 

   

 

 

 

 

 

View solution in original post

10 REPLIES 10

Ademir Amaral1
Kilo Sage

Hi @Purushotham1992 

 

If your question is how to make this specification, I suggest doing it using UI Policy or client script.

https://www.youtube.com/watch?v=QNZiAvHpE1o

Sumanth16
Kilo Patron

Hi @Purushotham1992 , 

 

Create "Choice" type field and add choice values to that field. 

 

And create onchange client scripts (or) UI policies to hide (or) display other fields.

 

Your requirement is simple , so create UI policies in your case.

1) In UI policy condition add choice 2 Or Choice 3 add UI policy action External Location

    

     Visible --> true and Mandatory--> true

 

Same way for the second field also.

 

If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!

 

Thanks & Regards,

Sumanth Meda

 

 

 

 

https://docs.servicenow.com/bundle/washingtondc-platform-administration/page/administer/form-adminis....

 

 

 

 

swathisarang98
Giga Sage

Hi @Purushotham1992,

 

Please follow the below instruction,

Creating the 3 fields

1.Navigate to incident.LIST table

2.Configure Form Design 

3.Create 3 fields 

swathisarang98_0-1708960026905.png

Adding Choice value for each field of type Choice

1.Load the incident record page

2.Right click on "Point of Failure" -> Configure Dictionary

swathisarang98_1-1708960231200.png

3.Add choices

swathisarang98_2-1708960349404.png

swathisarang98_3-1708960416397.png

Create UI policies (2)

1.if 2 or 3 is chosen from the "Point of Failure" field a new drop down box should show under the Point of Failure called "External Location" that is Required

swathisarang98_4-1708960744537.png

 

 

2.If 2 (Other) is Chosen on the External Location field

-->Create a Free Form text box ( 150 characters) Called "Explain External Location" this can be placed under External location and Should be Required.

swathisarang98_5-1708960883974.png

 

Please mark this comment as Correct Answer/Helpful if it helped you.

Regards,

Swathi Sarang

 

   

 

 

   

 

 

 

 

 

Hi @swathisarang98 

 

If i select point failure as  3.Extternal before Colum , external location field is displaying and then if select external location as other  , explain external location field is displaying up to this every thing is fine but 

 

Purushotham1992_0-1709271615893.png

 

if i back to Point of failure changes to 1 .Internal core network , still explain external network field is displaying 

Purushotham1992_2-1709272114189.png

 

 

Thanks in Advance