Expand my Community achievements bar.

How to proceed further downstream in the absence of Search Output?

Avatar

Level 2

I would like to search a data store, and if the search turns up no results, I want to proceed down a specific route downstream of that module (specifically, "there's no record for this already? then let's create one!")

 

However, whenever there is no Output for a search module, the scenario ends and I can't continue. 

gardensurfer_0-1727851638686.png

 

Is there any way to accomplish my use case such that the absence of data can serve as a condition to continue processing down a certain route? 

 

Thank you. 

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Reply

Avatar

Level 2

OP again. I came up with something that worked. Instead of searching the DataStore and using NO output as the condition to continue, I searched the DataStore first for all records and then compiled all of them into an array. I could then could use a filter condition with Array operators to find out if the value I'm looking for is contained or not contained in the array. 

 

gardensurfer_0-1727858311941.png

 

 

This seems to have gotten me past my hurdle, though I have to continue testing.