JBoss Community

Re: Sharing variables across jbpm processes

created by Richard Evans in jBPM - View the full discussion

Thanks. Just a slip of the fingers. These are the two things I tried (written more carefull)

 

kSession.getGlobal().set("statusPollInterval", "2s")

kRuntime.setGlobal("statusPollInterval", "2s")

 

The second "worked" in that it seems to have set a global variable. However when I executed the process I got an "Unexpected global [statusPollInterval]"

 

Any ideas?

Richard

Reply to this message by going to Community

Start a new discussion in jBPM at Community