I assume you mean you are using a guided decision table in Guvnor?<br><br>Why not select "Set the value of a field on an existing fact" instead of "Set the value of a field on a new fact".<br><br>Of course you'll have to have a Dummy fact to bind to in the LHS of the rule, which you example does not show. <br>
<br>Where else was you hoping a Dummy fact type would come from? There's nothing in your LHS to provide a Dummy on which to update the field values.<br><br>With kind regards,<br><br>Mike<br><br><div class="gmail_quote">
On 16 January 2013 19:10, starfish15 <span dir="ltr"><<a href="mailto:pooja.ghosh@accenture.com" target="_blank">pooja.ghosh@accenture.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello laune,<br>
<br>
The rule posted by me above is the source of my GUVNOR Business Rule. The<br>
dum1 is the ExecutionResult from them. It seems when designg the ACTION in<br>
GUVNOR of drools 5.5, the fact is getting attached automatically. To add<br>
Actions, in 5.5 to use the fact, i cudnt use an existing fact. Though<br>
earlier in 5.2 we were able to select the Fact for and conditions and<br>
actions. Here they ask either of the following for a new column.<br>
<br>
1. Add a new metadata,attribute column --> This i understand are for the<br>
Rule Attributes<br>
2. Add a simple condition --> This is a column for the Condition<br>
3. Set the value of a field --> This describes a column for Action<br>
4. Set the value of a field on a new fact --> I had used this option which<br>
included a new Fact that shows<br>
above in the<br>
Rule. I mean the fact1<br>
5. Retract an existing fact<br>
<br>
Dummy fact is just required for the Actions. Instead due to think it wud be<br>
better to use an attribute from the existg fact???<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Guvnor-5-5-being-WIERD-tp4021569p4021584.html" target="_blank">http://drools.46999.n3.nabble.com/Guvnor-5-5-being-WIERD-tp4021569p4021584.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br>