https://discord.gg/botpress logo
Find Records in Table
# 🤝help
f
Hello, I have a small question. I have a variable called
workflow.packageName
and its value is shown in image. I am going to use this variable to find the most related record which matches the title from the table, but it unable to find any record. How can I solve this? https://cdn.discordapp.com/attachments/1383133338935758970/1383133339246002309/image.png?ex=684daecd&is=684c5d4d&hm=bef9e3a5dd79a281145053607ad463ca8b2b0dabd6fa561a664ba78e22280ba1& https://cdn.discordapp.com/attachments/1383133338935758970/1383133339539472384/image.png?ex=684daecd&is=684c5d4d&hm=939e0bfb6dbef3cf2dc8a6b821d7efa683c296db2149970587ff13a5790e84be&
p
Find records is not made for open ended queries, you should instead add your table to a kb and query the knowledge base. Hope this helps!
f
If I want to retrieve the data source, I just need to access event.kb.results, right?
p
I'm not sure I understand what you are trying to do, can you elaborate?
f
I mean the knowledge which is used to form turn.KnowledgeAgent.answer
2 Views