Expand my Community achievements bar.

SOLVED

How to create a trait of a empty onboarded signal?

Avatar

Level 2

Hello

My offline data sometimes delivers value pairs like this:

"MANUFACTURER_CODE"=""

which means I need to create a trait for those that had no value.

If I use regex like "MANUFACTURER_CODE"  matchesregex  ".*" will give me all that have ANY value and then in the segment I can use is in an AND NOT rule.  I would like to have a trait for the NULL or EMPTY value instead

Is this possible?

Thank you

1 Accepted Solution

Avatar

Correct answer by
Level 2

The trait is populating so it seems to work.

I added something else though:

manufacturer_codematchesregex"^\s+$|^$"

Thank you

View solution in original post

2 Replies

Avatar

Employee Advisor

Try to use ... matchesregex "^$"

and let us know how you go.

Avatar

Correct answer by
Level 2

The trait is populating so it seems to work.

I added something else though:

manufacturer_codematchesregex"^\s+$|^$"

Thank you