I have a problem when searching for records in a Data Store.
From a scenario I read a file and load a series of data in a Data Store. Later, from another scenario, I send an invoice, and I look for if the NIF of the supplier of the invoice exists in the Data Store.
The problem is that it only finds me results if I edit the field I want to find and save it. If I search for a field that I have not edited and saved, it does not return results even if the record exists.
Is there any explanation for this?
This image is part of my scenario, then I only parse data and generate a file in Drive.
As you can see in this run, I search the data store for âAccountNumber = 43000004â and âNIF = 43496809Zâ that exist, but no results are returned.
If I edit said record, I simply delete and paste this data again, the next execution does return the correct results.
Sorry, the previous request was not entirely correct. In this image you can see the correct search data.
Hi again @JoseLopez
For me is working
1.Make sure you have chosen the right Data store in the module.
2.From what I see you have 2 conditions in Data Store module.
Above you said you wanted to search by this condition âif the NIF of the supplier of the invoice existsâ. Try to put only this condition to see if it works .
Donât hesitate to contact us if you require further assistance.
//Vlad
Yes, I need several conditions to better fit the search.
Only with the NIF condition, it doesnât work for me either.
I know itâs not easy to reproduce, and I canât find if Iâm doing something wrong, but simply by editing, deleting the data, pasting it again and saving, the scenario works for that data, it doesnât work for the following ones.
Thanks for your answer
Hi, @JoseLopez, from what you commented, you could verify that the data does not have any space or strange characters.
Thanks @Francisco_Fontes, that should be it, I added a trim before saving the data and now it works for me, even with 3 conditions in the search.
beginners mistake
@JoseLopez, In case it is the ultimate answer to your question, could you please mark the reply as a solution?
It helps keep the community space tidy
Thanks a lot!