did you define workorder as a process variable in your process definition?
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
However I would expect to extract a variable at process level......