[rules-users] Creation of RuleModel dyanmicalliy

Michael Neale michael.neale at gmail.com
Sun Sep 21 19:45:07 EDT 2008


Vikram - I am making the assumption that on the RHS of a rule you want
to kick off a rule process.

If this is the case, then in 4.0.x here is now way to do that with the
rule model stuff. In 5, it is possible (as you can put an arbitrary
expression on the RHS and it will render it out).

On Fri, Sep 19, 2008 at 12:25 AM, 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
>



-- 
Michael D Neale
home: www.michaelneale.net
blog: michaelneale.blogspot.com



More information about the rules-users mailing list