Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

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