Image field is never considered as empty in db

Hello,

I’m developing an app that allows travelers to review the spots they have visited, such as hotels and restaurants.

To facilitate this, users are enable to upload up to three pictures of their chosen spot. I’m currently using the “Picture Uploader” component, which is linked to a “Create Things” workflow associated with my database.

image
image

My issue lies in the fact that whether the Current User uploads an image or not, my database considers the fields as NOT EMPTY .

image
image

As you can see, there are no pictures filling the photo fields in my database.

I would be delighted if someone could assist me with this issue.
Thanks a lot!

You are not checking if the image is empty. The result of your expression is a list with one empty image, so its count is 1. Either you add the constraint in the search or add a filter/check for empty on your expression.

1 Like

Hey Dorilama,

Thanks a lot for your quick reply! I confirm it works by adding a constraint in the search

image

Have a good day!

1 Like