When in the tablet view, scripted reference qualifiers are not working as expected.

Steps to Reproduce

  1. In a Calgary, Dublin, or Eureka demo instance, open an incident using the desktop UI.
  2. Create a new script include named filterGroup, and make sure it is client callable. Use the following code:

// Start Script
function filterGroup(userSysID) {
// Local variables
var groupArray = [];
var user = userSysID || current.assigned_to;
// Query
var gr = new GlideRecord('sys_user_grmember');
gr.addQuery('user', user);
// While there exist values, push into an array
while (gr.next()) {
// Stringify for the reference qualifier
return 'sys_idIN' + groupArray.join(',');
// End Script


  1. On the Incident table, personalize the [assignment_group] dictionary record. 
  2. In the Reference Specifications tab, select Advanced from the Use Reference qualifier field, and input 'javascript:filterGroup()' into the Reference qualifier field.>
  3. Change the view to the tablet view.
  4. Select an incident (in this case, with demo data loaded, an incident with Beth Anglin as the assigned_to is a good example because she is a member of 5 groups).
  5. Select Assignment Group.


Expected Result:
A total of 5 should have been returned.

Actual Result:
In the above example, no groups are returned.




If you are able to upgrade, review the Fixed In field to determine the versions that have a permanent fix to this issue. 



Related Problem: PRB607750

Seen In

Calgary Patch 7 Hot Fix 2
Dublin Patch 1
Eureka Patch 10
Eureka Patch 10 Hot Fix 1
Eureka Patch 5
Eureka Patch 7
Fuji Patch 5

Fixed In

Fuji Patch 1

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2015-08-27 15:19:17