AI Search Results Action Configuration Action Payload Definition using sys_id of a ref field

seanphelan
Tera Expert

Under "Service Portal > AI Search > Search Results Actions" I created AI Search Results Action Configuration Action name.  I identified the AI Search Source to run against and the Portal page the customer should navigate to.

 

I cloned the "navigation" Action name as a starting point.  But this is where I just can't figure out the proper way to identify what I want to pass in.  The AI Source is that of a content item.  This content item is linked to a Topic.  I would like to visit the Topic using emp_taxonomy_topic and not the sc_cat_item page.  But todo this I need to pass in the sys_id stored in the taxonomy_topic ref field.

 

I tried taxonomy_topic but I get the display value

I tried taxonomy_topic.sys_id and get no value

I see the ai index source has this field as a fot walk for the index as taxonomy so I tried taxonomy.sys_id

I updated the ai index source to be map to raw and still no luck.

 

How do I setup my Action Payload Definition to use the sys_id of the the reference field vs its display value?

2 REPLIES 2

Gerard Dwan
ServiceNow Employee
ServiceNow Employee

dot walked fields aren't currently searchable, which I believe means they can't be used in this way. They are only used as a mechanism to filter results in the search sources, but this may be available in a future release. 

 

The documentation here specifies they are not searchable. 

Hello Gerard. I've gone through the documentation on this. where exactly does it say that it cannot be done?