JBoss Community

Set global variable for all process instances

created by Artem Astafyev in jBPM - View the full discussion

Hi All,

 

I want to set global variable that is available for all process instances. For example I want to expose some Spring bean to be available in MVEL expressions for Task parameters. Obviously this variable shouldn't be persisted with other variables but just be set each time new process is created or deserialized from persistent storage. What is the best way to do it in jBPM5?

Reply to this message by going to Community

Start a new discussion in jBPM at Community