# Workflow search should return nothing but it's returning something

**URL:** <https://forum.bubble.io/t/workflow-search-should-return-nothing-but-its-returning-something/52081>\
**Category:** Bugs\
**Created:** [March 16, 2019, 10:07pm UTC](https://forum.bubble.io/t/workflow-search-should-return-nothing-but-its-returning-something/52081 "2019-03-16T22:07:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![squigley](https://avatars.discourse-cdn.com/v4/letter/s/9f8e36/32.png) [@squigley](https://forum.bubble.io/u/squigley)\
**Post date:** [March 16, 2019, 10:07pm UTC](https://forum.bubble.io/t/workflow-search-should-return-nothing-but-its-returning-something/52081/1 "2019-03-16T22:07:43Z")

</div>

Just wondering if anyone can take a look and let me know if this looks like a bug. To me, it certainly does:

I have an action with a condition that it only runs when a search returns a count of 0. Here is the condition:  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/e/5/e55b108e590e31390648fc50d5587cb1e000e77f.png)

Here is what the search is doing:

![image](https://us1.discourse-cdn.com/bubble/original/3X/d/7/d7619910293749eca33c7afb3d2ab1446afffe16.png)

You can see in the debugger that it is returning an empty field, so friend should = empty, returning a list of 0 items, causing the action to run.  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/6/a/6a3b2a8fc9aa7db1ae44701522e6a9a1dfb53fe7.png)  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/b/2/b21497f476e51cddb466e9f1486123e3d64588e2.png)

But you can see that for some reason it is returning 3, and it does not run. Any ideas why this might be happening?  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/6/d/6deea4795a2ce773bdd78591ad56db4f51f59bc4.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [March 30, 2019, 10:07pm UTC](https://forum.bubble.io/t/workflow-search-should-return-nothing-but-its-returning-something/52081/2 "2019-03-30T22:07:44Z")

</div>

Closed on March 30, 2019, 10:07pm UTC

This topic was automatically closed after 14 days. New replies are no longer allowed.
