Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
yome1
Creator
Creator

Talend and Drools No Loops

Hello,

 

I try to use Drools (6.2) in TAC (7.0) to define a business Rule.

My rule is setting an attribute of my fact with a value depending on the value of another attribute :

when field1 > 1000 and field1< 2000 then field2 = 1500

No problem to do this in Drools workbench.

 

I was able to get the rule in Talend studio from TAC but i don't know how to set up the tBRMS component to use it.

In advanced setting, i loaded the xml tree but it is mandatory to set a loop element and i don't understand why..

Is there a link with the no loop attribute in Drools workbench? (because i checked the no loop attribute)

 

Thank you for your help.

 

Labels (4)
2 Replies
yome1
Creator
Creator
Author

Hum sorry i made a mistake an post this message in the wrong category...
yome1
Creator
Creator
Author

For those interested using Drools with Talend, it seems like you must set an element to handle the loop.

I encountered another problem by using 2 rules at the same time, i solved it by adding the lock-on-active option into the rule

 

After that the tBRMS component works fine.

 

Hope that helps.

Guillaume