Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Dynamic refence qualifier for record producer

rmaroti
Tera Contributor

hello, I have two reference type variable i.e  name is 'request_regarding' and 'category' on Record Producer one is referencing to "Topic Category" and another one is referencing to "Topic Details" table when I select topic category in only its child topic details should be visible I have tried bit it not working.

Pls find attached screenshot and let me know where I need to change it.

for this requirement I'm creating dynamic reference qualifier but its not working.

but i got all topic details not child one of topic category.

 

table name- Topic Category -sn_hr_core_topic_category

                      Topic Detail -sn_hr_core_topic_detail

 

 

2 REPLIES 2

_Gaurav
Kilo Sage

Hi @rmaroti 

Can you please try to change LINE 14 of your script include from arr.push(gr.name) to arr.push(gr.sys_id);

rmaroti
Tera Contributor

actually name field is translated text type of field so still we need to use it sys _id