Expand my Community achievements bar.

Join us at Adobe Summit 2024 for the Coffee Break Q&A Live series, a unique opportunity to network with and learn from expert users, the Adobe product team, and Adobe partners in a small group, 30 minute AMA conversations.
SOLVED

SAINT Classification rule: is not working 100%

Avatar

Level 5

Hi Team, 

 

I am running a SAINT classification rule on eVar, most of the time it is working as expected but for few instances is not working even though when same data is validated correctly on Test rule. 

Sample values: 

5704396::en_us::null:null:::::gb - Test rule result is correct

-1002::en_us::null:null:::::us - Test rule result is correct, however not classified when seeing the report.

 

Rule specification: 

11 fields separated with ":" & length should be less than 255 characters(eVar). Any help on this. 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@dinesh_kumar_r 
Being the type who doesn't make assumptions, can you provide the exact rule you used?  I'm asking just because everyone approaches problems differently, and this may feel like a super-simple approach.  The Regex I would start off using, based on what you stated in your question would be.

^(.*)\:(.*)\:(.*)\:(.*)\:(.*)\:(.*)\:(.*)\:(.*)\:(.*)\:(.*)\:(.*)$

I escaped the colons simply out of caution, but I would expect this to work.

jeff_bloomer_0-1616435642415.png

The only other thing I would validate is the format of the first field in your classification.  If it's text, you should be fine.  If you are still having issues, I also agree you should be contacting Customer Care to determine the technical problem.  Best of luck!

 

Jeff Bloomer

View solution in original post

4 Replies

Avatar

Community Advisor

Based on your 2 sample strings, I'd say your regex pattern may not be accounting for the "-" character.

If you've verified the correctness of your Classification rules with the "Test rule set", then you might want to bring this up with Client Care to see if there is an unknown bug that's causing your issue.

Avatar

Employee

Hi Dinesh,

 

Please check that there is no other browser upload or FTP upload happening to the same variable.

 

Regards,

Shamshul

Avatar

Employee Advisor

If the test rule shows that the key should be classified and the report isn't showing the data even after 72 hours (when the key is reported), please reach out to Adobe Client Care.

Avatar

Correct answer by
Community Advisor

@dinesh_kumar_r 
Being the type who doesn't make assumptions, can you provide the exact rule you used?  I'm asking just because everyone approaches problems differently, and this may feel like a super-simple approach.  The Regex I would start off using, based on what you stated in your question would be.

^(.*)\:(.*)\:(.*)\:(.*)\:(.*)\:(.*)\:(.*)\:(.*)\:(.*)\:(.*)\:(.*)$

I escaped the colons simply out of caution, but I would expect this to work.

jeff_bloomer_0-1616435642415.png

The only other thing I would validate is the format of the first field in your classification.  If it's text, you should be fine.  If you are still having issues, I also agree you should be contacting Customer Care to determine the technical problem.  Best of luck!

 

Jeff Bloomer