[rules-users] Creation of RuleModel dyanmicalliy

Mohamed Riyaz riyazenayath at gmail.com
Sun Sep 21 00:35:18 EDT 2008


Hi,

Make sure that Rule Model API of Drools 4 and 5 release support rule flow
generation or not. Having looked at the source, I didn't see such APIs to
fulfill your requirement.

Regards,
Riyaz


On 9/18/08, Vikram Shitole <vikrams at mastek.com> wrote:
>
> Hi,
>
> I am working on the Drools 4.0.7 release.
> I am using the org.drools.brms.client.modeldriven.brl.RuleModel class to
> create the rules dynamically and then persisting them using the
> BRDRLPersistence class.
>
> I am able to do majority of the things but I am stuck at
> Invoking a rule flow process from the drl.
>
> We can type the following code in the DRL
> drools.getWorkingMemory().startProcess(Process ID)
>
> Does anyone have an idea about how this can be done using the RuleModel
> class
>
>
>
> Thanks & Regards
> Vikram Shitole
> Mastek Ltd
> Phone No: 66072000
> MASTEK LTD.
> Mastek in NASSCOM's 'India Top 20' Software Service Exporters List.
> In the US, we're called MAJESCOMASTEK
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Opinions expressed in this e-mail are those of the individual and not that
> of Mastek Limited, unless specifically indicated to that effect. Mastek
> Limited does not accept any responsibility or liability for it. This e-mail
> and attachments (if any) transmitted with it are confidential and/or
> privileged and solely for the use of the intended person or entity to which
> it is addressed. Any review, re-transmission, dissemination or other use of
> or taking of any action in reliance upon this information by persons or
> entities other than the intended recipient is prohibited. This e-mail and
> its attachments have been scanned for the presence of computer viruses. It
> is the responsibility of the recipient to run the virus check on e-mails and
> attachments before opening them. If you have received this e-mail in error,
> kindly delete this e-mail from desktop and server.
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080921/b1664830/attachment.html 


More information about the rules-users mailing list