Advanced Reference Qualifier not working in dictionary override assignment group HR Case Management

Volente_
Kilo Expert

Hi SN Community, 

I have a requirement to have the assignment group field on an HR case form within HR Case Management Application (Human Resources: Core) show a specific list of groups based on the currently logged in user. The HR Case table extends task and all other case type tables then extend from the HR Case table. 

Task Table ---> HR Case Table ---> all other HR Case tables 

Steps to accomplish goal: 

1. Perform a dictionary override on assignment group. 

2. Override reference qualifier. 

3. Create advanced reference qualifier via script include to reference in override. 

I did this and was unsuccessful.

I tested my script include via creating my own "assignment group" field and placing the advanced reference qualifier there, which did yield the desired results so I am confident that this issue is not with the script include itself. 

"Test Assignment Group" was configured as follows: 

find_real_file.png

 

The assignment group field on task table is configured in the following way: 

find_real_file.png

My dictionary Override is the following: 

find_real_file.png

And my script include: 

find_real_file.png

I even tried placing the script include in the global application, but that did not work either. I would appreciate any guidance anyone can offer as I am at a loss.

8 REPLIES 8

Mike Patel
Tera Sage

on your script include

try doing something like

if(gs.getUser().isMemberOf(SYS ID of group)){
//Do something...
}

Thank you for answering Mike, but the script include works when used in the u_assignment_group field I created to test it. It just does not work in the dictionary override on assignment group field. 

try doing below

javascript: new sn_hr_core.hrGroupAssignment().groupDisplay();

dictionary Override is on Global app and your u_assignment_group is in scoped app 

Still nothing 😞