how to disable the particular group for incidents only in service now

Rithika Kalamn1
Giga Contributor

how to disable the particular group for incidents only in service now

2 ACCEPTED SOLUTIONS

bammar
Kilo Sage
Kilo Sage

You could add another checkbox to the groups table like Hide  and set to true

Then in the reference qualifier for incident assignment group say Hide =false.

Keep in mind if your using task table you have to make sure this wont cause something else not to work in another area which is why you may need to use a dictionary override and set the ref qualifier there for incident...

View solution in original post

Rithika Kalamn1
Giga Contributor

What is the procedure to hide/disable the assignment group when we are using the task table. The changes in reference qualifier leads to changes in task table

View solution in original post

16 REPLIES 16

Aman Kumar S
Kilo Patron

Hey,

You need to build the logic in dictionary override.

Configure Assignment group > In the form, go to related list "Dictionary Override" > Find row for table = Incident> Click on checkbox "Reference qualifier override" > add below statement:

javascript: "sys_id!=sys_id_of_the_asignment_group";

 

Feel free to mark correct, If I answered your query.

Will be helpful for future visitors looking for similar questions 🙂

 

Best Regards
Aman Kumar

Can we use  a client script?

 

No, you can't

Best Regards
Aman Kumar

If we select the option onload and try to right a script ..will it work? 

 

No, it doesn't work that way, it has to be through reference qualifier.

You can have dynamic ones as well, lets say you want to show all groups and if one option is selected on the form, you want to hide certain group, that is also possible using ref qualifier, no need of client script at all.

 

Feel free to mark correct, If I answered your query.

Will be helpful for future visitors looking for similar questions 🙂

Best Regards
Aman Kumar