Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Assignment group in Change request form

RSSG
Tera Contributor

Hi All

I have a requirement where on Change reqest form I need to show only specific groups to appear (Groups which I have created) when clicking on "Assignment group". How can I do that?

 

Change Request form

RSSG_0-1686637649363.png

 

 

Lets say I want only these groups to appear for user to select any one 

RSSG_1-1686637684691.png

 

15 REPLIES 15

RSSG
Tera Contributor

Hi @Riya Verma 

Thanks for the response.

So first thing, exactly where you have suggested to lacate for "group availability"option?If you can elaborate it more with screenshots please!

Secondly, I have a condition that whenever I select some particular category like "Firewall Change manegment" only then desired groups should reflect in " Assignment group" 

RSSG_0-1686648244307.png

 

RSSG
Tera Contributor

Hi @Riya Verma 

Can you help in modifying the code you suggested after looking my requirement through snapshot I shared?

Ankur Bawiskar
Tera Patron
Tera Patron

@RSSG 

you need to use dictionary override for that group field as that field is on task table

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

I have a condition that whenever I select some particular category like "Firewall Change manegment" only then desired groups should reflect in " Assignment group".  How can I do that ?

 

And on your reply I navigated on dict.Entry Override, where I think a separate table needs to be prepared which will have desired groups and then reference to that table needs be given here . Is that right?

But before doing that I need to understand how we can do this only for single type of category .

RSSG_0-1686654055678.png

 

 

@RSSG 

then you can use dictionary override and override the reference qualifier and form the query accordingly based on category value

javascript: var query; if(current.category == 'firewall') query = 'sys_idINsysId1,sysId2'; query;

// give the group sysIds in the query you want to show

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