ruleflow-group is a rule attribute and, AFAIK, something you assign in your rule-flow to relate rules to flows.
Unfortunately I am not an expert on drools-flow so I am hoping somebody more experienced and confirm my thoughts. You do not need to use the attribute when loading the KnowledgeBase, just when authoring your flows. With kind regards, Mike 2011/6/17 Serge Vilvovsky <[email protected]> > Thank you, Mike. > > Can you let me know, please, what is the way to differentiate the > ruleflow-groups on Knowledge Base reading? What classes does it affect? > > Regards, > Serge > > > 2011/6/16 Michael Anstis <[email protected]> > >> IIRC, you can use different ruleflow-groups to differentiate the two >> rules. >> >> The problem you describe would be evident locally if you used a single >> KnowledgeBase containing the two rules. Creating two KBs would not normally >> be recommended. >> >> A single KB should be sufficient. >> >> With kind regards, >> >> Mike >> >> 2011/6/17 Serge Vilvovsky <[email protected]> >> >>> I am a beginner with drools, sorry, if the question is too trivial. >>> >>> I have two drl files A and B. Both they validate the instance of the same >>> type T, but produce the different output. >>> I call the drool A within one business flow and drool B within another >>> flow. >>> >>> Before now I ran them locally, creating two separate KnowledgeBases, and >>> everything worked fine. Now I want to use the Guvnor. >>> >>> If I put them to the same package and run: >>> >>> http://<server>/guvnor-webapp/org.drools.guvnor.Guvnor/package/<packageName>/LATEST >>> >>> I will get the KnowledgeBase that contains them both, I believe. >>> According to my understanding, because they process the instance of the same >>> type, I cannot use such KnowledgeBase. >>> >>> What should I do? Is it any API that allows to distinguish the >>> KnowelageBases for the different drools within the same package or I need to >>> put them to the different packages? >>> >>> Thank you! >>> >>> _______________________________________________ >>> rules-users mailing list >>> [email protected] >>> https://lists.jboss.org/mailman/listinfo/rules-users >>> >>> >> >> _______________________________________________ >> rules-users mailing list >> [email protected] >> https://lists.jboss.org/mailman/listinfo/rules-users >> >> > > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users > >
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
