We have a process which runs some rules against items in the working memory. We 
then want to use one of the objects in the working memory as the input 
parameter to a work item.

The only way I can see to do this is to use a script step to fetch the fact 
from the wm (via a query or whatever) and then set a global, then have the 
global map into the in paramater.  This however seems very messy, scoping the 
variable far larger than it needs to.
Is there a more appropriate solution which doesn't pollute the global variable 
namespace - perhaps running some code in the work items on entry action to 
populate the parameter directly?

Thanks,

Thomas

________________________________

**************************************************************************************
This message is confidential and intended only for the addressee. If you have 
received this message in error, please immediately notify the 
[email protected] and delete it from your system as well as any copies. The 
content of e-mails as well as traffic data may be monitored by NDS for 
employment and security purposes. To protect the environment please do not 
print this e-mail unless necessary.

NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, 
United Kingdom. A company registered in England and Wales. Registered no. 
3080780. VAT no. GB 603 8808 40-00
**************************************************************************************
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to