Glidelist selections to show on related list of main table (scoped app)

lrossy31
Tera Expert

I have tried to do a relationship to make the selections made on the glidelist field show on the related list. Here is what I have done and what the results are:

Relationship created 

Applies to table (Main custom table)

Queries from table (Second custom table)

Query script:

(function refineQuery(current, number) {

current.addQuery('sys_id','IN',number.glidelistfieldname);

})(current, number);

 

On the main table I added the new relationship as a related table, but all the records from the second table show instead of the ones I selected on the glidelistfieldname.

 

How can I get this fixed? I will greatly appreciate the collaboration.

 

Regards,

 

Luis

0 REPLIES 0