Display child assignment group under parent assignment group like tree structure.

sruthig
Tera Expert

I have to display child assignment group under parent assignment group like tree structure. Help me to configure it. Please find the Attached images. 

4 REPLIES 4

Tony Chatfield1
Kilo Patron
Hi, have you looked at utilising tree picker functionality. From memory it is set as a dictionary attribute against the reference field. Https://docs.servicenow.com/bundle/newyork-platform-user-interface/page/use/common-ui-elements/concept/c_TreePicker.html

Kamlesh Pimple
Mega Expert

Hi Sruthig,

 

You can do that by adding "Assignment Group" as a dependent value on "Sub Group" Dictionary.

  1. Go to Configure dictionary on "Sub Group".
  2. on the dependent field tab you will see a field called "Dependent". 
  3. Enter the value of your assignment group, its "assignment_group" on OOB. 
  4. Save it

Check if there are child assignment groups to your parent assignment group.Note you will see all the groups in the "Sub Group" field when there is no value in the "Assignment Group". You can resolve that issue by adding a UI policy to hide or make Sub Group field read only. 



Let me know if you need further assistance.

Hope it helps,

 

regards,

 

Kamlesh.

 

Actualy my requirement is child group should comes under parent group like tree structure while creating incident etc. Attached screenshot.

sarahakers
Tera Guru

if you need to pull assignees from a group OR any of its subgroups you can check this out. this is how I do it.. Im sure there are better ways. 

 

Handling Groups and Subgroups - Developer Community - Question - ServiceNow Community