Thank you Mark.<div>No problem at all. I was just wondering.</div><div>Unfortunately, I don&#39;t have any free time at the moment for implementing this new feature :(</div><div><br><br><div class="gmail_quote">On Thu, Nov 6, 2008 at 2:18 AM, Mark Proctor <span dir="ltr">&lt;<a href="mailto:mproctor@codehaus.org">mproctor@codehaus.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


  

<div bgcolor="#ffffff" text="#000000"><div class="Ih2E3d">
Michal Bali wrote:
<blockquote type="cite">Hello,<br>
  <br>
Is there a way to define new variables within ruleflow?. <br>
  <br>
If I try to set variable that hasn&#39;t been declared in the ruleflow
header - the variables section. I get following error:<br>
&quot;Could not find variable someVariableName<br>
Continuing without setting value&quot;<br>
</blockquote></div>
I don&#39;t believe this is possible at the moment. We are in feature
freeze now for the core team, so we don&#39;t have time for new features,
but if you can dig into the code and figure out a clean way to do this
with some unit tests, we should be able to get it into 5.0.<br>
<blockquote type="cite"><div class="Ih2E3d"><br>
I am using following code:<br>
context.setVariable(&quot;someVariableName&quot;, &quot;someValue&quot;);<br>
  <br>
I need this for couple of reasons:<br>
&nbsp;- I have a custom *generic* WorkItem that has some parameters. I want
to set them *dynamically* at runtime. Ideally, define new variables in
onEntry and then map them with an in-mapping.<br>
&nbsp;- in a subflow, the subflow calculates some value, I&#39;d like to store
this value as variable and then use the out-mapping to propagate it to
the parent ruleflow.<br>
  <br>
I can&#39;t find any examples/test cases doing this.<br>
  <br>
Is there a way to define new variables within ruleflow?. <br>
  <br>
Thanking you in advance.<br>
Best Regards,<br>
Michal<br>
  </div><pre><hr size="4" width="90%">_______________________________________________
rules-users mailing list
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a>
  </pre>
</blockquote>
<br>
</div>

<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br></div>