[rules-users] firing rules dynamically

Anstis, Michael (M.) manstis1 at ford.com
Thu Mar 20 07:34:59 EDT 2008


So you need to dynamically create the rules in a rulebase based upon
information in your database "Table X"?

I don't have any experience of dynamically creating rules but have seen many
posts to this group about dynamic construction.

Perhaps, if I understand your requirement, somebody else on the group can
help better.

Sorry.

Mike


> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
> 
> Hi Mike,
> 
>    Thanks for the reply.
>    I am not still clear on the creation and firing rules. Let me explain
> in detail
> 
>    There say 3 trading partners who share files with my application. 
>    Say ABC(FileMask: ABC-834, and tagetQ is q834)
>          DEF(FileMask: DEF-850, and targetQ is q835)
>          ...
>    Through my admin module, I will insert guidelines for each trading
> partner (fileMask, targetQueue).
>    In my database there are 3 rows in a table x which acts as rules for
> the files they place.
>    Here I am not using .drl file so that I can build the PackageBuilder.
>    
>    Any partner can place the file on the source folder. I need to pick the
> file and then I need to fetch the row(targetQueue) relating to the file
> and then fire rules accordingly.
> 
>    Now how to create package from the data contained in database, so that
> I can obtain the rulebase.
>    The reason of not using .drl is at run time from admin module I can add
> new partner and their rules. and my application should handle the new
> partner added there on.
> 
>    Please guide me and share me if you have any sample/documentation as
> such.
> 
>    Thanks for your support.
> Hanumesh
>       
> 
>      
>   
>   
>  
>   
>   
> 
> 
>    
> 
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
> 
> 

-- 
View this message in context:
http://www.nabble.com/firing-rules-dynamically-tp16142265p16175100.html
Sent from the drools - user mailing list archive at Nabble.com.

_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7206 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20080320/e984447c/attachment.bin 


More information about the rules-users mailing list