# Condition after scanning

**URL:** https://community.glideapps.com/t/condition-after-scanning/83824
**Category:** Ask for Help
**Created:** [August 14, 2025, 3:42am UTC](https://community.glideapps.com/t/condition-after-scanning/83824 "2025-08-14T03:42:33Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Marc\_St-Amand](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/marc_st-amand/32/84696_2.png) [@Marc\_St-Amand](https://community.glideapps.com/u/Marc_St-Amand)
#### Post date: [August 14, 2025, 3:42am UTC](https://community.glideapps.com/t/condition-after-scanning/83824/1 "2025-08-14T03:42:34Z")

</div>

hi there how do i set a condition after scanning ie

i’m executing a barcode scan and depending if the result is found in the datase

A = Succes - - update column with barcode value

if no code found

B= Display- - Error code not found - - prompt for rescan or manual entry.

for some reason you can set a condition before the scan which to me is completely useless!! why!?

but i see no branching after the scan in workflow

help would be appreciated

PS if someone is wondering i do not want the user to click another button after the scan is executed

thank you

Marc

---

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [August 14, 2025, 11:19am UTC](https://community.glideapps.com/t/condition-after-scanning/83824/2 "2025-08-14T11:19:46Z")

</div>

If you use a server-side workflow (Manual or Webhook), you can add conditional branching anywhere in the flow.

---

<div class="post-metadata">

### Author: ![Marc\_St-Amand](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/marc_st-amand/32/84696_2.png) [@Marc\_St-Amand](https://community.glideapps.com/u/Marc_St-Amand)
#### Post date: [August 14, 2025, 7:12pm UTC](https://community.glideapps.com/t/condition-after-scanning/83824/3 "2025-08-14T19:12:04Z")

</div>

Thank you Darren. I will look upon that. i am from the era of C++ where you could add conditions practically anywhere so i am not to familiar with this syntax limitation. i am new at this so there is a lot absorb.
