[rules-users] Creation of RuleModel dyanmicalliy

benq2188 bengisaglam at gmail.com
Tue Jan 29 03:35:18 EST 2013


Hi Vikram,

I will work with org.drools.brms.client.modeldriven.brl.RuleModel class,
could you please give some details about how you managed to create the rules
dynamically ?

Thanks,

Bengi.





Vikram Shitole 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 .jboss

> https://lists.jboss.org/mailman/listinfo/rules-users





--
View this message in context: http://drools.46999.n3.nabble.com/FW-Implementation-of-expert-system-tp57841p4021907.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list