In your example:-
1. | rule "Rule One"
2. | dialect "mvel"
3. | when
4. | Class(campaign == 1939506 )
5. | Class1( CUR_FM_EOC_IN == "Y" )
6. | Class1( GRP_TRANSPARENT_IN == "N" )
7. | Class1( LEGAL_LANG_CD != "ES" )
8. | Class( BUSUNIT_01_NO == "39" )
9. | then
10. | Dummy fact1 = new Dummy();
11. | fact1.setAsset_41369( "Access 1" );
12. | insert( fact1 );
13. | end
Where is the binding of a LHS fact? In particular, given your requirement,
a bound Dummy? I would have expected:-
when
$d : Dummy( ... )
....
then
$d.setWhatEver( ... );
update( $d );
end
The RHS constructs only become available if you have at least one binding
in the LHS. You have zero.
With kind regards,
Mike
On 17 January 2013 10:01, starfish15 <pooja.ghosh(a)accenture.com> wrote:
Hi manstis,
Are you sure there exists an option in the Web Editor that set the rules to
an existing fact. Because i was unable to find that. And the example given
to you is the source of a Business Rule tried in GUVNOR. But they both stop
at the same thing.
I am not sure what cud be the problem here.
Regards,
Starfish
--
View this message in context:
http://drools.46999.n3.nabble.com/Guvnor-5-5-being-WIERD-tp4021569p402159...
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