How to create a trait of a empty onboarded signal? | Community
Skip to main content
Level 2
March 7, 2018
Solved

How to create a trait of a empty onboarded signal?

  • March 7, 2018
  • 2 replies
  • 3352 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by FernandoAlfaro

The trait is populating so it seems to work.

I added something else though:

manufacturer_codematchesregex"^\s+$|^$"

Thank you

2 replies

Adobe Employee
March 26, 2018

Try to use ... matchesregex "^$"

and let us know how you go.

FernandoAlfaroAuthorAccepted solution
Level 2
April 3, 2018

The trait is populating so it seems to work.

I added something else though:

manufacturer_codematchesregex"^\s+$|^$"

Thank you