Not able to set dynamic filter to search source record of ai search
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2024 02:24 PM
I have configured a new indexed source as incidents for AI search on portal.
It did setup but it was showing incidents which were not mine. So I decided to add filter that incidents it shows must belong to logged in user.
So to achieve this , What I have tried is to add the filter to search source record and limit that to current logged in user records.
Requested For is(dynamic) Me (Refer screenshot),
// Search source record filter
But as soon as I save the record. Few error pops up and says invalid update. See Screenshot
---
Upon searching the internet, I found that it is becz the reference field I used in search source filter( Requested For ---- backend name : caller_id) is not configured via dot_walk_fields attribute in related list' field mapping and setting' in index source record.
So I decided to add that, See screenshot
---
After doing all this Still I am not able to apply that filter on search source record and it is still giving me same error.
What I am missing here, Can you help me with this ??
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2024 09:15 PM
Hi @anuj27
For more information refer below links
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1117071
Please mark helpful & correct answer if it's really worthy for you.
Thanks,
BK
Thanks,
BK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2024 06:00 AM - edited 07-23-2024 04:51 AM
Hi @Bhavya11 , but the KB article says that it got fixed in "San Diego Patch 4".
Also Official doc of search sources says that dynamic filter can be applied.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2025 12:20 PM
Could you solve this issue?
I was thinking about hardcoding the conditions (via script and putting setWorkflow(false)) or inactivating the Business rule that aborts the save action.