Custom related list (relationships) not getting breadcrumbs(filter links)

Datha prasadred
Tera Contributor

Hi Team,

 

when i am working on ITBM i have created custom relationships and added into the project i am getting accurate list of records but when i am trying to  open breadcrumbs  in new window it is showing all records not related to parent 

i need to see the records which are related to the parent record only please help on this...please find the attached screenshot.

 

I am using this code :

(function refineQuery(current, parent) {
    if ((parent.instanceOf('pm_project') && parent.parent.nil())) {
        var project = new GlideRecord('pm_project');
        project.get(parent.getValue('sys_id'));
        if (current.isValidField('u_projectproject')) {
            current.addQuery('u_projectproject', project.getValue('top_task'));
        }
}

Dathaprasadred_0-1702910005484.png

 
 
 

 

 
 

 

 

 
 

 

 

 

 

 

 

0 REPLIES 0