How Can I know if a nxql query in an automation chain returns a not null document?

Hi, I want to know if the Query operation in automation chain returns null when document is not found. Also how can I validate in next operation if the document exists, get its metadata or if this is null do anything.

0 votes

1 answers

1650 views

ANSWER



A query returns a list of documents, so if nothing is found the list will just be empty. No null will be returned.

0 votes