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/GUVNOR and attach the two documents you have produced (along with details of the problem).
Thanks,
Mike
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-fragment-in-Guvnor-5-5-tp4022188p4022198.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users