How to check if a specific value exists in a list imported from Retrieve list of entity name from database

0
hello First of all, I want to know how to use Retrieve to import data of an entity called SelectData into a list and check whether there is a specific value in this list. (In Microflow) Logic to check whether there is a value and, if not, to move to the next step if there is a Create object. I want to implement it, but how should I implement it?
asked
1 answers
2

Note sure if I'm understanding your requirement properly, but you could dome something similar to this:

- You have some variable or parameter that contains your the specific value you're searching for

- You use a retrieve from DB to query your SelectData and and XPath statement to filter an attribute of that entity that should contain your specific value

- This will already create you a list of objects that contain this specific value. So you can  check if that list has results: $SelectDataList_WithSpecificValue != empty 

- If there are no results, create that SelectData object and set the specific value you were searching for 

{1BAD9D28-477C-4141-B367-9DFC16375592}.png

answered