Trigger Logic Sequence

I have an application where I am scanning a barcode and then storing it into a variable. I have four separate triggers that are happening when the barcode scanner outputs. The first trigger I have in my sequence checks to see if the format of the barcode scanned is correct to prevent from scanning an incorrect barcode.

This first trigger logic is the following:
When the device Barcode Scanner outputs at this station:

  1. If Device Output data starts with Static value “E”
  • Then store device output data into Variable
  1. Else If
  • Then show Error Static value Text

I have this same logic on the first trigger of barcode scanner inputs on 4 different steps. In all of them except this first step, the app kicks out the barcode correctly when the format is incorrect. In this first step, however, the steps continues through the logic even though the format is incorrect.

I am curious why this is, and if there is something happening here that I am missing?

Thanks for the help in advance

Screenshots?

I have started to use a step transition after my error messages to return me to the same step, as a way to escape the rest of the device output trigger stack.