<!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,&nbsp; </DIV>
  <DIV>&nbsp; I am having problem about modifying certain fact. </DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp; For example </DIV>
  <DIV>&nbsp; 1)&nbsp;I have User status when inserted&nbsp; set to value 
  "1".</DIV>
  <DIV>&nbsp;&nbsp;2) in the modify in a rule block i m changing this&nbsp; to 
  "5".</DIV>
  <DIV>&nbsp; 3)Now i have a flow where i have a wait which waits this user 
  status is not value "1".</DIV>
  <DIV>&nbsp;&nbsp;&nbsp;&nbsp; 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>&nbsp;&nbsp;&nbsp; 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>&nbsp; awaiting your response.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Regards</DIV>
  <DIV>Vikram Pancholi</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>