The Zurich release has arrived! Interested in new features and functionalities? Click here for more

How to set a default value for choice field based on another choice field using configure dictionary?

Rahul Dev1
Giga Expert

Suppose if I have field a 'Priority' having choices P0,P1,P2,P3 and and field 'Status' having choices 'Serviced','Not Serviced'. Whenever 'Priority' is not P0 or P1 then 'Status' default value should be 'Not Serviced'.

I want to achieve this using default value in Configure dictionary.

Kindly Help!

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

are you sure the Priority will be having some default value when form loads?

I believe you should be using onChange client script and achieve this if user changes the priority

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

6 REPLIES 6

@Rahul Dev 

Thank you for marking my response as helpful.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

@Rahul Dev 

Thank you for marking my response as helpful.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards
Ankur

 

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader