I was experimenting with the global settings in under the project settings Deployments / Global page. Every combination I tried in terms of name/value results in a RuntimeException when attempting to start a process. The exception message is "Unexpected global [test]".
In the global list I set the name field to "test" and I tried a few combinations in the value field (MVEL resolver type):
- "I'm a global"
- new String("I'm a global")
- new java.lang.String("I'm a global")
My ultimate goal is to make available an instance that is accessible in the various "On Entry/On Exit" scripts from within a process.
So I guess the question(s) are, what am I doing wrong in setting up these global values, and what is the intended use of these globals anywany?