Display multiple records with Look up utility in Designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2023 01:23 AM
Hi Everyone,
I am working on Virtual Agent Designer. I am using Lookup utility in my flow. But it is returning only one record, I want to return multiple records if condition matches. Can anyone help me? How to get this requirement with scripting in lookup utility and displaying multiple records ?
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2023 02:09 AM
Out of the box it will always return 1 record
What's your business requirement here?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2023 02:44 AM
I have a custom table in my instance and I am getting records from that table using look up utility.
Right now, when user types some issue then lookup utility will check the condition that Experience Name CONTAINS user_entered_text it returns only one record.
In table of there are multiple records which matches condition then lookup utility should return all the records matching condition.
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2023 02:50 AM
that's not possible as OOB it returns only 1 record.
what is the next action user will perform if they select 1 record?
why not do a loop and ask user to select any more issue and run the loop till the time user doesn't say there is not further issue to be selected?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2023 02:57 AM - edited 08-29-2023 05:28 AM
I want response like this, currently lookup utility is sending one record, and I am putting that data into Card utility and displaying result.
Similarly, when I type for example - "testing by" it should return three cards, because I have three records starting with testing by.
Can I achieve that?
Thanks inadvance