Contacts Not Being Removed from Segments

Hello,

I’m new to Mautic however I’ve started testing Mautic 6.0.0rc.

I’ve found a couple of issues with dynamic segments.

Issue 1

I’ve created a test segment and assigned a filter as follows:

Tag including and then I’ve added three tags.

If the contact has all three tags then the segment includes the contact. However if you delete one tag from the contact the contact is still included in the segment. It is not removed when the the cron job runs.

Therefore Tag includes is a logical OR rule - is that correct ?

However the wording includes suggest a logical AND on the tags i.e. must contain all tags.

Will you please clarify how the rule should function ?

Issue 2

If you create a test segment and assign a filter i.e. zipcode starts with say AA. If the contact zipcode starts with AA the contact is added to the segment. However if you rename the segment name and the segment alias and then remove the filter rule I would have expected the contact to be removed from the segment however its left in the segment.

Conclusions

I’m not sure but the two issues above could be the same problem i.e. removing contacts from the segment when the cron job runs.

Thanks.

Hello,

This is a follow-up to issue 1.

I have replaced the filter tag includes (with three tags) with three separate AND rules with tag included (one tag).

If I remove any one tag from the contact, the contact is removed from the segment.

The question is: Filter tag includes (multiple tags) appears to be a logical OR.

What about replacing the “includes” with
“includes any” a logical OR on tags
“Includes all” a logical AND on tags

It would make the logical function clearer.

Thanks.

Hello,

This is a further follow-up to issue 1

According to ChatGPT a segment tag rule including (tag1, tag2 tag3) is indeed a logical OR. Can the community please confirm this is correct ?

Issue 2 is still a problem.

Thanks.