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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

How to create a trait of a empty onboarded signal?

fernando_alfaro
Level 2
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
fernando_alfaro
Correct answer by
Level 2
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
garrettchung
Employee
Employee

Try to use ... matchesregex "^$"

and let us know how you go.

fernando_alfaro
Correct answer by
Level 2
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