Reference qualifier should work only when dependent field is not empty

Harish74
Tera Expert

Hi,

 

When I select  an Assignment group, only members who belong to that group should show up in the 'Assigned to' field.

When I don't select any Assignment group and try to select an user in Assigned to all users in the system should shown up.

I have used reference qualifier in Assigned to field to achieve this. It is working fine when I select Assignment group.

But When I open Assigned to field without giving Assignment group, no users are shown this time.

 

Is there any way to make reference qualifier work only when Assignment group field is not empty?

 

2 REPLIES 2

Tony Chatfield1
Kilo Patron

Hi, if you share the details of your reference qualifier then the forum would be in a better position to understand your configuration, if you are using advanced refqualifier\javascript to set your filterthen you should be able to encapsulate in an if clause perhaps try something like.

if(yourReferenceField != '') {
//run your refqual code
}

Sukraj Raikhraj
Kilo Sage

docs.servicenow.com/bundle/sandiego-platform-administration/page/script/server-scripting/concept/c_ReferenceQualifiers.html