This content has been marked as final.
Show 2 replies
-
1. Re: jBPM5 Process Variables
amin-mc Jul 25, 2012 7:55 AM (in response to mylos78)did you define workorder as a process variable in your process definition?
-
2. Re: jBPM5 Process Variables
mylos78 Jul 25, 2012 9:31 AM (in response to amin-mc)Thanks, by defining the workorder variable as "property" in the process it works.
Coming from a jBPM3 background I thought that passing the HashMap in the creation of the process would do automatic initialization of the variable.
May I ask just one more query about variables ? how do you modify a variable via API ?
org.drools.runtime.process.ProcessInstance does not seem to include any set/get variable. The documentation talks about kcontext
kcontext.setVariable(variableName, value);
However I would expect to extract a variable at process level......
Regards
Mylos