1 of 1 people found this helpful
Ok, I found a solution for the "optional" point. I'm now able to get additional information about the current process like the name, instance and the node itself with all its variables. But I need still the current user of the jBPM console. Any idea?
To whom it may concern:
With the kcontext variable which you can also access in scripts, you are an object of the class using org.drools.spi.ProcessContext which implements the following interface:
As you can see, you can get all the information about the process instances, node instances including all the variables.
Hi hamsterdancer and all,
I also need to have access to the current user of the jBPM console in a script task. Do you have a solution for this in the meantime? Can someone else help me here otherwise?
Many thanks in advance.
No, I'm sorry. It seems now there is no way. The console only controls and manages processe and is used for more than only jBPM. So it is afaik not possible.