okey9 zeng [
http://community.jboss.org/people/okey9] created the discussion
"jbpm5 pesist setGlobal getGlobal problem"
To view the discussion, visit:
http://community.jboss.org/message/616249#616249
--------------------------------------------------------------
Hi:
i have global value problem...
i use the method of setGlobal in Persistence ,
for example:
1. ksession =
(CommandBasedStatefulKnowledgeSession)JPAKnowledgeService.newStatefulKnowledgeSession(kbase,
config, env);
2. ksession.setGlobal("testkey","testValue");
3. ksession.startProcess(processId);
4. ksession.dispose();
then i use
ksession =
(CommandBasedStatefulKnowledgeSession)JPAKnowledgeService.loadStatefulKnowledgeSession(ksessionId,kbase,
config, env);
get the ksession again,
then ksession.getGlobal("testkey") is null,
why? and how do use the globalValue in Persistence..
thanks for u !
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/616249#616249]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]