<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3492" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=247383914-27082009><FONT face=Arial
color=#0000ff size=2>what version of Drools are you
using?</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> rules-users-bounces@lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] <B>On Behalf Of </B>Vikram
Pancholi<BR><B>Sent:</B> 27 August 2009 15:30<BR><B>To:</B>
rules-users@lists.jboss.org<BR><B>Subject:</B> [rules-users] modify facts
problem<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Hi, </DIV>
<DIV> I am having problem about modifying certain fact. </DIV>
<DIV> </DIV>
<DIV> For example </DIV>
<DIV> 1) I have User status when inserted set to value
"1".</DIV>
<DIV> 2) in the modify in a rule block i m changing this to
"5".</DIV>
<DIV> 3)Now i have a flow where i have a wait which waits this user
status is not value "1".</DIV>
<DIV> After the rule is fired ans the status is
changed to false, in the next step i am checking this status of user status in
an XOR split constraints</DIV>
<DIV> but i still get the status in the constraint as "1". I
have got no clues whts going on. I tried printing this value in the getting
the objects using classobjectfilter and then specyfing the class again, the
value is still shown as "1". I am very much confused about this. Is this some
effect of Shadow facts. </DIV>
<DIV> awaiting your response.</DIV>
<DIV> </DIV>
<DIV>Regards</DIV>
<DIV>Vikram Pancholi</DIV>
<DIV> </DIV>
<DIV> </DIV></BLOCKQUOTE></BODY></HTML>