Hello,
This looks like a bug.
The "PayTypeDepositFund" is not being added as a Fact to the "when"
part of
rules as it doesn't not have any constraints. As it is not added you should
not be able to use it's binding in the "then" part of the rule.
A work-around would be to add a constraint to "PayTypeDepositFund" for
something like "this != null" (i.e. it has no effect, but does mean the
Fact is added to the "when" part of the rule).
Can you please also open a JIRA at
https://issues.jboss.org/browse/GUVNORand attach the two documents you
have produced (along with details of the
problem).
Thanks,
Mike
On 11 February 2013 11:56, Aditi Hardas <aditi.hardas(a)gmail.com> wrote:
Manstis ,
I want to update a fact i.e. want to set value on existing fact.
I am new to the Guvnor. So it may possible that I am not following proper
steps for creating a Rule. As per my understanding from fact creation
screen
we can bind a fact pattern.
steps.doc <
http://drools.46999.n3.nabble.com/file/n4022198/steps.doc>
Thx
-----
Aditi
--
View this message in context:
http://drools.46999.n3.nabble.com/Not-Able-to-create-a-condition-BRL-frag...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users