- 
        1. Re: Sharing variables across jbpm processessalaboy21 May 25, 2012 9:00 AM (in response to r3vans)Hi Richard? Where are you trying to do: kSession.getGlobal.set("statusPollInterval", "2s") kRuntime.setGlobal.set("statusPollInterval", "2s") That syntax is not even Java if you have access to the Knowledge Session you just do: ksession.setGlobal("statusPollInterval", "2s"); If you don't have access, for example inside a process itself, you can use the kcontext object to access the knowledge runtime kcontext.getKnowledgeRuntime().setGlobal("statusPollInterval", "2s"); That should work inside the processes and the rules. Cheers 
- 
        2. Re: Sharing variables across jbpm processesr3vans May 28, 2012 1:53 AM (in response to salaboy21)Thanks. Just a slip of the fingers. These are the two things I tried (written more carefully) 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 
 
    