Ed Staub wrote:
> 
> Do WorkItemHandlers not have access to globals by intent?
> In Flow, at least from my perspective, most of the usefulness of globals
> would be in WorkItemHandlers.
> They'd probably need their own map - or a way of flagging names in the
> "variable" map as globals - e.g., "*foo" means "the global foo".
> 
Yes, so it seems. Like already mentioned, accessing globals from within the
work item handler might hamper the 'pluggability' requirement of handlers.

One method of reading external data and outputting data would be to use the
'Parameter Mapping' and 'Result Mapping' feature of handlers. I personally
haven't used it but I think it is something which might just solve your
problem.

Peace,
/T\


-----
Arguing on the internet is like running at the special Olympics. Even if you
win, you're still retarded.
-- 
View this message in context: 
http://n3.nabble.com/Access-to-globals-from-WorkItemHandlers-tp732460p732852.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to