Display multiple records with Look up utility in Designer

Abhijit Das7
Tera Expert

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 

7 REPLIES 7

Ankur Bawiskar
Tera Patron
Tera Patron

@Abhijit Das7 

Out of the box it will always return 1 record

What's your business requirement here?

 

AnkurBawiskar_0-1693300137362.png

 

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar 

 

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 

@Abhijit Das7 

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?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi @Ankur Bawiskar 

 

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