[jboss-jira] [JBoss JIRA] (DROOLS-846) KIE Workbench Test Scenarios don't run with ruleflow-group
kevin chabot (JIRA)
issues at jboss.org
Wed Jul 22 03:55:02 EDT 2015
[ https://issues.jboss.org/browse/DROOLS-846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13091613#comment-13091613 ]
kevin chabot commented on DROOLS-846:
-------------------------------------
The issue is discussed on the drools forum here: https://groups.google.com/forum/#!topic/drools-usage/XcHpSeGr8eE
One tip was that the drools scenario requires a stateful pseudo knowledge base; but even after defining a default one, no rules are being executed.
The default session configuratoion applied in kmodule.xml:
{code}
<kmodule xmlns="http://jboss.org/kie/6.0.0/kmodule" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<kbase name="defaultKieBase" default="true" eventProcessingMode="stream" equalsBehavior="equality">
<ksession name="defaultSession" type="stateful" default="true" clockType="pseudo"/>
</kbase>
</kmodule>
{code}
The name defaultKieBase was used since the test scenario does not run otherwise (it expects one defaultKieBase session to be available, and as soon as a session is defined on the project, it complains that it cannot find "defaultKieBase". Could be explained that the KIE workbench creates a default one if none exists?)
> KIE Workbench Test Scenarios don't run with ruleflow-group
> ----------------------------------------------------------
>
> Key: DROOLS-846
> URL: https://issues.jboss.org/browse/DROOLS-846
> Project: Drools
> Issue Type: Bug
> Components: tools
> Affects Versions: 6.2.0.Final
> Reporter: kevin chabot
> Assignee: Mario Fusco
> Attachments: drools.test.bestOffers.zip
>
>
> While evaluating a proof of concept with drools & KIE workbench, I created a simple test scenario to test rules created with a guided decision table.
> This decision table is triggered as a business task in a jBPM flow, so it has the ruleflow-group attribute specified.
> However, when running the test scenario from the KIE workbench, it seems that no rules are being fired. The scenario is setup so that it activates the necesary ruleflow groups.
> The test project setup is attached.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jboss-jira
mailing list