Mautic Community Forums

How to segment by stage = none

My contacts are not assigned to a stage by default.

They get stages assigned either manually or through automation.



How do I segment contacts who have no stage set?

Segmenting filters available for stage is either:

  • equals
  • not equal



    There’s surely gotta be better filters available for stages e.g.
  • empty
  • not empty
  • including
  • excluding

    etc



    I’ve tried building a series of filters, such as:



    Stage not equal to aaaa

    AND

    Stage not equal to bbbb

    AND

    Stage not equal to cccc

    AND

    Stage not equal to dddd



    In attempt to leave behind contacts who don’t have a stage value set.

    However this returns 0 contacts.



    How can I return all my contacts who don’t have a stage value set?

My contacts are not assigned to a stage by default.
They get stages assigned either manually or through automation.

How do I segment contacts who have no stage set?
Segmenting filters available for stage is either:

  • equals
  • not equal

There’s surely gotta be better filters available for stages e.g.

  • empty
  • not empty
  • including
  • excluding
    etc

I’ve tried building a series of filters, such as:

Stage not equal to aaaa
AND
Stage not equal to bbbb
AND
Stage not equal to cccc
AND
Stage not equal to dddd

In attempt to leave behind contacts who don’t have a stage value set.
However this returns 0 contacts.

How can I return all my contacts who don’t have a stage value set?

@MxyzptlkFishStix @mqueme
Done.
https://github.com/mautic/mautic/issues/2485

Thank you.

I have a local dev installation, just out of curiosity and play with the source code. It looks like ListModel.php (2.1.1) line 389 is where the code needs to be changed. However I don’t know if that is the only required change or if it will break something else. Still learning…