Classification Rule Builder not working on a SubClassification key

Avatar

Avatar
Validate 1
Level 1
marishg69668790
Level 1

Likes

3 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 1
marishg69668790
Level 1

Likes

3 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile
marishg69668790
Level 1

21-06-2019

Hello,

I am trying to split an Address into - Street1, Street2, City, State, ZIP, Country - from a field "L3MG Original Address" which is part of a feed into Adobe, and therefore part of a Classification table with key "Listing ID".

I created a Subclassification on "Address" for the six items -  Street1, Street2, City, State, ZIP, Country -.

Then in Rule Builder, used regex  ^(.*)\|(.*)\|(.*)\|(.*)\|(.*)\|(.*)$  to split the address as shown below.

1776877_pastedImage_0.png

Individually, each expression is matching as shown below:

1776899_pastedImage_2.png

But on "Test Rule Set"  it throws the error -

1776900_pastedImage_3.png

Can someone help solve this? Is it because rule builder won't work on a Sub Classification key?

Thanks,

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Establish
Employee
hyderziaee
Employee

Likes

228 likes

Total Posts

465 posts

Correct reply

222 solutions
Top badges earned
Establish
Coach
Contributor
Shape 1
Give Back 25
View profile

Avatar
Establish
Employee
hyderziaee
Employee

Likes

228 likes

Total Posts

465 posts

Correct reply

222 solutions
Top badges earned
Establish
Coach
Contributor
Shape 1
Give Back 25
View profile
hyderziaee
Employee

25-06-2019

You are right, as the rule builder works on the key value (which is the value in the variable), and not the classification value.

Sub-classifications are to be used when a single key can only have a specific classification, and that classification can have a specific sub-classification. If for a single key, there can be two different sub-classification.

In this case, I do not think you need a sub-classificaiton. You can change the structure in the Admin section. And then use the Rule Builder for your automation.

Regards,

Hyder

Answers (6)

Answers (6)

Avatar

Avatar
Establish
Level 4
Balaji_V
Level 4

Likes

76 likes

Total Posts

70 posts

Correct reply

10 solutions
Top badges earned
Establish
Contributor
Shape 1
Give Back 3
Give Back
View profile

Avatar
Establish
Level 4
Balaji_V
Level 4

Likes

76 likes

Total Posts

70 posts

Correct reply

10 solutions
Top badges earned
Establish
Contributor
Shape 1
Give Back 3
Give Back
View profile
Balaji_V
Level 4

25-06-2019

HI Arish,

Please try the below format,

adobe.JPG

Thanks,

Balaji

Avatar

Avatar
Establish
Employee
hyderziaee
Employee

Likes

228 likes

Total Posts

465 posts

Correct reply

222 solutions
Top badges earned
Establish
Coach
Contributor
Shape 1
Give Back 25
View profile

Avatar
Establish
Employee
hyderziaee
Employee

Likes

228 likes

Total Posts

465 posts

Correct reply

222 solutions
Top badges earned
Establish
Coach
Contributor
Shape 1
Give Back 25
View profile
hyderziaee
Employee

01-07-2019

@Andrey, I missed your question.

The reason why I mentioned for the change in the structure is cause:

  1. Rule Builder will not work on sub-classification
  2. Apart from the structure, there is no other place where you would actually see the reports as a sub-classification, which makes it unnecessary if not required. Here the values can be simple the classification of the actual value, and do not have to be sub-classification
  3. Sub-classification in my opinion should only be used if the key can never be in two sub-classifications, and if the classification needs to be done through file upload (and not rule builder)

Regards,

Hyder

Avatar

Avatar
Validate 1
Level 1
marishg69668790
Level 1

Likes

3 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 1
marishg69668790
Level 1

Likes

3 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile
marishg69668790
Level 1

25-06-2019

HI @hyderziaee

Could you explain further what you mean by change the structure to normal classification?

The situation is, we are receiving a feed with some 33 fields for some Listings data. The key is listing_id. One of the fields in the feed is an address value which is further needed to be split into Street, city, zip etc.

I have had a similar experience previously also, where when we try to do regex on a subclassification key, it doesn't work as expected. SO my concern is - is it not possible to apply regex on a sub-classification item?

Thanks for any help here.

Avatar

Avatar
Validate 1
Level 1
marishg69668790
Level 1

Likes

3 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 1
marishg69668790
Level 1

Likes

3 likes

Total Posts

6 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile
marishg69668790
Level 1

25-06-2019

Hi Balaji,

I tried the regex you recommended. It is still throwing the error "Invalid Action on a Key"

I doubt it has something to do with the subclassification key!

Thanks,

Avatar

Avatar
Shape 25
MVP
Andrey_Osadchuk
MVP

Likes

537 likes

Total Posts

968 posts

Correct reply

263 solutions
Top badges earned
Shape 25
Bedrock
Coach
Boost 500
Affirm 250
View profile

Avatar
Shape 25
MVP
Andrey_Osadchuk
MVP

Likes

537 likes

Total Posts

968 posts

Correct reply

263 solutions
Top badges earned
Shape 25
Bedrock
Coach
Boost 500
Affirm 250
View profile
Andrey_Osadchuk
MVP

25-06-2019

Hi hyderziaee,

Could you explain why the advice was to change the structure to normal classification?

Avatar

Avatar
Establish
Employee
hyderziaee
Employee

Likes

228 likes

Total Posts

465 posts

Correct reply

222 solutions
Top badges earned
Establish
Coach
Contributor
Shape 1
Give Back 25
View profile

Avatar
Establish
Employee
hyderziaee
Employee

Likes

228 likes

Total Posts

465 posts

Correct reply

222 solutions
Top badges earned
Establish
Coach
Contributor
Shape 1
Give Back 25
View profile
hyderziaee
Employee

21-06-2019

From what I can see, this is not a case for sub-classification. change the structure to normal classification, and then use the rule builder.