cancel
Showing results for 
Search instead for 
Did you mean: 

Rule type of the rule must match the RuleModule ruleType: PROMOTION Rule Type was: DEFAULT

former_member643591
Discoverer
0 Kudos
350

Promotions are not getting published. We get the below error in one of our environments when we try to create promotion and publish it.

ERROR [00002Z96::de.hybris.platform.ruleengineservices.jalo.RuleEngineJob] (00002Z96) [DefaultRuleMaintenanceService] The rule compilation finished with errors INFO | jvm 1 | main | 2019/06/21 09:20:06.148 | ERROR [00002Z96::de.hybris.platform.ruleengineservices.jalo.RuleEngineJob] (00002Z96) [AbstractRuleEngineJob] Exception caught - de.hybris.platform.servicelayer.exceptions.ModelSavingException: [de.hybris.platform.droolsruleengineservices.interceptors.DroolsRuleValidateInterceptor@6598e6ee]:Cannot add DroolsRule with code: My_AT_Cart_Loyalty to DroolsKIEBase: promotions-base! Rule type of the rule must match the RuleModule ruleType: PROMOTION Rule Type was: DEFAULT

Screenshot -

View Entire Topic
0 Kudos

Hello,

Any findings in here? I face similar issue!

Regards!

0 Kudos

Hello,

I found the problem by the way. Go to Backoffice - > Drools Rules and search selecting like below.

Rule Type - > Default

Is current Version - > true

Active - > true

Change drools rules type from Default - > Promotion. Try to publish promotion again. Issue should be gone.

Regards!

Botan