Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Advanced Reference Qualifier Not Working on Catalog Item ESC

sna12578
Tera Contributor

Hi

 

Having an issue with my Advanced Reference Qualifier.

I have 2 tables called Function / Sub-Function. Sub-Function references Function.

Sub-Function table:

 

SN1.png

I have created 2 variables of type: Reference.
Function:
SN2.png
Sub-Function:

SN3.png
I'm trying to filter out Sub-Function values based on what I have in Function. However I have tried variations of the advanced reference qualifier and instead of filtering it out, it keeps on showing me the full list. 

SN4.png

Based on the function variable, it will match it based on the u_parent field in the u_sub_function, Finance = Finance and it will give me the values I need. I tried hardcoding by:

javascript:'u_parent=6a96d5d73b5bb29040c5f49a04e45a53'

where the ID is the sys_id of Finance and this one works. What could I be missing? Help is appreciated. Thank you.

11 REPLIES 11

Ankur Bawiskar
Tera Patron

@sna12578 

function variable referring to which table?

share screenshots of that table

Also since variable is reference type no requirement of ref_qual_elements, remove that

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

Hi,

Function:
SN8.png

Sub-Function:

SN7.png


Function Variable:

SN10.pngSN9.png

 

Sub-Function Variable:SN12.pngSN11.png