0

I have faced an issue with triggered experience:

I need to have 4 events as a trigger (ADD, VIEW, CHECKOUT, IDENTITY). It works fine for any 3 events combination, but for 4 events server returns an error:

Error updating triggers
ERROR: value too long for type character varying(255)

It looks like database field or backend model limitation on server side. Any suggestions/workarounds? enter image description here

2 Answers 2

1

I managed to bypass these limits by using Regex: ^VIEW|ADD|CHECKOUT|IDENTITY$.

After trying many regex variations, I noticed that it only works with ^...$ format: enter image description here

0

This is a good example if we need to use all or one event in the list as a trigger, but I need to use all of the events together as a trigger. something like this:

^(?=.*\bevent1\b)(?=.*\bevent2\b)(?=.*\bevent3\b).*$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.