Loading drools file from workflow

90 views
Skip to first unread message

Prem Anand

unread,
Aug 23, 2018, 2:58:33 AM8/23/18
to Drools Usage
Hi Folks,

I have JBPM 7.8 and drools 7.8 in my work bench.

In a workflow, for a business rule task i am trying to include the rules via properties tab.

When i click on the Ruleflow Group label it's not listing me any files to select. For now as  a work around i am manually entering the rule flow group name and executing the workflow and it works. 

Screen shot attached on the bug. 

Can anyone please help on this issue.

Regards
Prem
drools_loading_issue.PNG

Prem Anand

unread,
Aug 23, 2018, 3:27:28 AM8/23/18
to Drools Usage
Additionally, I have been using guided decision tables to generate the rules.

I don't see any .drl files in my repository but the files are in .gdst extension. How to load the .gdst files in the ruleflow group properties. Should i configure anything specific for this. 

Regards
Prem

Michael Anstis

unread,
Aug 23, 2018, 3:31:19 AM8/23/18
to Drools Usage
I don't know jBPM so my comments are limited to this respect.

AFAIK you type (or possibly select) a Rule Flow Group rules in which will be activated by the Business Rule Task.

I assume, if none of your rules are in a Rule Flow Group, you won't get anything listed.. but I've BCCed some colleagues who are more familiar with jBPM and Process Designer.

GDST is the persistent format of Guided Decision Tables; when the KJAR is compiled these are converted into DRL.

@Maciej, Tiho... perhaps you can add to my reply.


--
You received this message because you are subscribed to the Google Groups "Drools Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-usage+unsubscribe@googlegroups.com.
To post to this group, send email to drools...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/drools-usage/cc08e6e2-9003-46fd-9506-17b3f7aae7f9%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Maciej Swiderski

unread,
Aug 23, 2018, 3:45:45 AM8/23/18
to drools...@googlegroups.com
This looks like the gist is not index to extract ruleflow-group attribute and thus won’t show up on the list to pick up. So I’d say this could be improved assuming we can get the ruleflow-group from the gist file - Mike?

Maciej

To unsubscribe from this group and stop receiving emails from it, send an email to drools-usage...@googlegroups.com.

To post to this group, send email to drools...@googlegroups.com.

Michael Anstis

unread,
Aug 23, 2018, 3:58:15 AM8/23/18
to Drools Usage
We do extract the Rule Flow Group from GDSTs during indexing... 

We are assuming the OP has RFG's on their GDSTs.

Maciej

--
You received this message because you are subscribed to the Google Groups "Drools Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-usage+unsubscribe@googlegroups.com.
To post to this group, send email to drools...@googlegroups.com.

Prem Anand

unread,
Aug 23, 2018, 4:55:51 AM8/23/18
to Drools Usage
Attached is my guided table and rule file code generated from it.

RFG's are there. 

Regards
Prem

On Thursday, 23 August 2018 12:28:33 UTC+5:30, Prem Anand wrote:
source_code of the rule from table.PNG
GDST_table.PNG

Michael Anstis

unread,
Aug 23, 2018, 5:12:29 AM8/23/18
to Drools Usage
I've checked with 7.11.0-SNAPSHOT and it works all OK (both legacy Process Designer and the new one).

I'll try to find an older WAR to check too.

--
You received this message because you are subscribed to the Google Groups "Drools Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-usage+unsubscribe@googlegroups.com.
To post to this group, send email to drools...@googlegroups.com.

Michael Anstis

unread,
Aug 23, 2018, 5:24:52 AM8/23/18
to Drools Usage
Tested with 7.8.0-Final and it works OK too.

You need to click on the dropdown icon on the Ruleflow Group property.

Prem Anand

unread,
Aug 23, 2018, 5:37:13 AM8/23/18
to Drools Usage
Yes Mike i am clicking on the ruleflow group drop down icon but it says its loading but not  showing the pop up to pick the rule file.

Regards
Prem


On Thursday, 23 August 2018 12:28:33 UTC+5:30, Prem Anand wrote:

Prem Anand

unread,
Aug 23, 2018, 5:48:54 AM8/23/18
to Drools Usage
one more info is : i am using kie-wb-webapp.war for the workbench.

Regards
Prem

Michael Anstis

unread,
Aug 23, 2018, 6:08:49 AM8/23/18
to Drools Usage
OK, just tried with kie-wb-7.8.0-Final-eap7 and it worked fine with that too.

All I can suggest is to review the logs... kie-wb normally needs more heap space than EAPs default. 

--
You received this message because you are subscribed to the Google Groups "Drools Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-usage+unsubscribe@googlegroups.com.
To post to this group, send email to drools...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages