Forum Academy Marketplace Showcase Pricing Features

Find a thing by its slug

Hi there, i am stuck. Maybe anyone can help me:

  • I am scanning QR codes that are attached to little icecream containers.
  • In the Database i create a container with the Slug of the QR Codes value and save it as “full”. That works.
  • When i scan it again (first step in workflow, that gives me the “slug”), i want to say this container is “empty”.

My question: How do i find the container with the slug that i just scanned and that is already in the database? In my case, as you can see in the database screenshot, it keeps creating new container, instead of updating it.

I the bottom row the container was created, in the top row the same container should be updated.

Help is very much appreciated:)
Niken