Hello All,
Here is the thing.
I collected one list of documents (teste1) and added one column named issued with initial data "No".
Also collected one filtered document library (teste2) where I have the status of the document. If they already are on revision 0, it means it was issued. Note that on this library there are just the documents issued and not the entire list of documents.
So far, so good...
My idea is to check which documents have been issued on teste2 and update the columnn Issued with the data "Yes" on teste2.
The way I'm trying to compare is by the document code. If they match; it means that the document has been issued and the column should be updated. The point here is that on Library, the document code is a lookup of the document list and I thint that maybe this is the reason why I'm not suceeding in doing so through the formula below:
ClearCollect(teste1;AddColumns('B - Lista de Documentos de Saída';"Issued";"No"));;
ClearCollect(teste2;Filter('B1 - Documentação de Saída';REVISION="0"));;
UpdateIf(teste1;ForAll(teste2;LookUp(teste2;teste2[@LD].Value=teste1[@Title];true));{Issued:"Yes"})
Prints of the collections:

Would you guys know someway to solve it?
Thanks in advance.