Customer Tags not being read correctly

DatingDivas
Visitor
2 0 0

Working on setting up a flow for a subscription product. The goal is that a customer can join at any time and they will always get BOXA then at their renewal BOXB and so forth. We want the customer contact tagged with each box they have received so they never get the same one twice. 

 

We have started a flow were it looks for the subscription product, then checks the tags on the customer. It works for BOXA (or seems to) but when the renewal is placed it doesn't catch the BOXA tag on the customer and updates for BOXA instead of BOXB instead. 

 

Here is what we have... 

 

Screen Shot 2023-10-10 at 7.21.59 PM.png

BOX A (BOX A wouldn't work with out it being 'non of the orders' & 'does not include'.)

Screen Shot 2023-10-10 at 7.38.31 PM.png

Then if they have the BOXA tag it should go to this condition for BOXB (and BOX B actions)but it doesn't... it continues the BOXA actions

Screen Shot 2023-10-10 at 7.38.49 PM.png

Again we want it checking customer tags for the previous tag to know what part of the flow to action. 

 

Any help?

Reply 1 (1)
Steve_L
Shopify Staff
Shopify Staff
8 1 2

I think it's the double negative in the BOXA condition that's causing the issue. Let's say the customer has the tag for BOXA. If you check that none of the tags do not include BOXA, and the customer has BOXA then it will return true. The reason it works on the first pass is because of how empty lists are treated in our underlying language.

I think the logic that you need is to check that none of the customer tags include (or are equal to) the tag.

Steve_L_0-1697034728160.png

 

Steve_L_1-1697034763495.png

 

To learn more visit the Shopify Help Center or the Community Blog.