Re: [rules-users] Decision Tables with Business Rule Tasks?
Thanks for your response. However, I am still having trouble. I started with the Decision Table and Flow examples. I modified the example DT call a method in an instance of a class I defined. I setup the DecisionTableTest code to create the object and initialize it. After the fileAllRules call I dumped out the object and verified that its state had changed (the method was invoked by the DT rule). I modified the ProcessTest code to use a ScriptTask to similarly call the method on the object and verified that it worked. I then changed the code to go from using a ScriptTask to a RuleTask, trying to use the DT from the first step. I can see in the audit log that the process reaches the ScriptTask, but it does not proceed to the next task. Also, I can see that the rule does not execute (the method is not invoked). Can someone recommend some steps I should take to debug this problem? Is there an example somewhere that uses a ScriptTask from a DT? Regards, Mike From: rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Michael Anstis Sent: Friday, May 27, 2011 5:08 PM To: Rules Users List Subject: Re: [rules-users] Decision Tables with Business Rule Tasks? The same place as any attribute, like Salience, Agenda-Group etc Section 5.1.4.2. Keywords in Drools Expert 5.1.1's documents talks about it a bit. Cheers, Mike On 27 May 2011 22:02, mmcintosh michael.g.mcint...@citi.commailto:michael.g.mcint...@citi.com wrote: Thanks for your response. I have not seen any example of this. Where does the ruleFlow-group attribute go on the spreadsheet? -- View this message in context: http://drools.46999.n3.nabble.com/Decision-Tables-with-Business-Rule-Tasks-tp2990517p2994420.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.orgmailto:rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Decision Tables with Business Rule Tasks?
You can add the ruleflow-group Attribute to the XLS form, or in Guvnor using the guided editor. Decision Tables compile to a common form that KnowledgeBuilder uses to create your engine; so AFAIK using them in a flow should not be a problem. With kind regards, Mike On 26 May 2011 22:03, mmcintosh michael.g.mcint...@citi.com wrote: Is it possible to use a decision table to specify the rule for a business rule task? How is the ruleFlowGroup specified? -- View this message in context: http://drools.46999.n3.nabble.com/Decision-Tables-with-Business-Rule-Tasks-tp2990517p2990517.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Decision Tables with Business Rule Tasks?
Thanks for your response. I have not seen any example of this. Where does the ruleFlow-group attribute go on the spreadsheet? -- View this message in context: http://drools.46999.n3.nabble.com/Decision-Tables-with-Business-Rule-Tasks-tp2990517p2994420.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Decision Tables with Business Rule Tasks?
The same place as any attribute, like Salience, Agenda-Group etc Section 5.1.4.2. Keywords in Drools Expert 5.1.1's documents talks about it a bit. Cheers, Mike On 27 May 2011 22:02, mmcintosh michael.g.mcint...@citi.com wrote: Thanks for your response. I have not seen any example of this. Where does the ruleFlow-group attribute go on the spreadsheet? -- View this message in context: http://drools.46999.n3.nabble.com/Decision-Tables-with-Business-Rule-Tasks-tp2990517p2994420.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] Decision Tables with Business Rule Tasks?
Is it possible to use a decision table to specify the rule for a business rule task? How is the ruleFlowGroup specified? -- View this message in context: http://drools.46999.n3.nabble.com/Decision-Tables-with-Business-Rule-Tasks-tp2990517p2990517.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users