Guo-Guang Chiou [
http://community.jboss.org/people/taitung.wilbert] created the
discussion
"Re: How to get an object like kcontext to call
setVariable("variable",value) for begin used by following tasks??"
To view the discussion, visit:
http://community.jboss.org/message/632167#632167
--------------------------------------------------------------
Hi Mauricio,
I did use variable mapping in the workitem handler.
That's why I can get the variable by using WorkItem.getVariable("").
You mention that externally accessing kcontext is not a good practice.
However, I think,in some situation, it is inevitable that some tasks(ex user task, script
task, and etc)
depends on the outputs produced by WorkItemHandler.
Therefore, how do I can affect the variable value in WorkItemHandler,
or, is there any alternative of good practice to accomplish the process I want.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/632167#632167]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]