johennes fan [
https://community.jboss.org/people/johennes] created the discussion
"how to setVariable"
To view the discussion, visit:
https://community.jboss.org/message/776174#776174
--------------------------------------------------------------
Hello,
After the process was started,I wan't to change the variable.
Then I use this code:
((WorkflowProcessInstanceImpl)
ksession.getProcessInstance(processid)).setVariable("aa", "bb")
But it always call "java.lang.NullPointerException",I don't know why. The
code "getVariable()" works well.
Anyone can help me ?
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/776174#776174]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]