<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16587" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I think i worked it around.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Before I fired the rules, I put the following 
instruction in the "main" code:</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>workingMemory.setGlobal(</FONT><FONT color=#2a00ff 
size=2>"wm"</FONT><FONT size=2>, workingMemory);</DIV></FONT>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Ofcourse in this way I can access the working 
memory within</FONT></DIV>
<DIV><FONT face=Arial size=2>the ruleflow action nodes and I can use them in 
order</FONT></DIV>
<DIV><FONT face=Arial size=2>to assert new facts into the "wm" 
global.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Does it sound a bit tricky?</FONT></DIV>
<DIV><FONT face=Arial size=2>Does it imply horrible integrity\security issues? 
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Please, I need a feed back from the "drools" guys 
to know whether</FONT></DIV>
<DIV><FONT face=Arial size=2>what I did is correct or not.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thank You everyone.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Massi</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=mmquelo@gmail.com 
  href="mhtml:{0087CD0D-F0D1-42F3-AEDE-0C39AEB6B8C7}mid://00000910/!x-usc:mailto:mmquelo@gmail.com">mmquelo 
  massi </A></DIV>
  <DIV style="FONT: 10pt arial"><B>Newsgroups:</B> 
  gmane.comp.java.drools.user</DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=rules-users@lists.jboss.org 
  href="mhtml:{0087CD0D-F0D1-42F3-AEDE-0C39AEB6B8C7}mid://00000910/!x-usc:mailto:rules-users@lists.jboss.org">Rules 
  Users List</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, January 02, 2008 7:55 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Inserting Facts within "Action 
  nodes" (RuleFlow)</DIV>
  <DIV><BR></DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Hi guys,</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Is it possible to insert a new fact in the ruleflow action nodes?</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>I tried it simply adding an "insert(new Object())" instruction</DIV>
  <DIV>in the action-node "textual editor" but I got back the following</DIV>
  <DIV>exception:</DIV>
  <DIV>&nbsp;</DIV>
  <DIV><U><FONT color=#000080 size=2>
  <P>org.mvel.PropertyAccessException</P></FONT></U><FONT color=#ff0000 size=2>: 
  unable to resolve property: insert(new Object())</FONT><FONT size=3> </FONT>
  <P><FONT color=#ff0000 size=2><FONT color=#000000>Is it a simple dialect issue 
  ? How to do it correctly?</FONT></FONT></P>
  <P><FONT color=#000000 size=2>Thank You!</FONT></P>
  <P><FONT color=#000000 size=2></FONT>&nbsp;</P>
  <P><FONT color=#ff0000 size=2><FONT 
color=#000000>Massi</FONT></FONT></P></DIV>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>rules-users mailing 
  list<BR><A href="">rules-users@lists.jboss.org</A><BR><A 
  href="">https://lists.jboss.org/mailman/listinfo/rules-users</A><BR>
  <P></P></BLOCKQUOTE></FONT></DIV></BODY></HTML>