How can I check for duplicate values?

Is there a way to check if a Variable is unique within all other variables?

I have a set of 32 SNs being recorded into individual variable input boxes, but I need to check to make sure they are unique. How can I do that?

You can concatenate them all to one string but have the logic throw an error and flag the duplicate value if the string already contains the next variable.

Here is one where I am checking barcode scans for duplicates (and ignoring them), in two triggers:



2 Likes

The “contains” check also works if you pop the values onto an array instead of adding them to a string.

1 Like