What are the differences in usage between the local and global variables in jBPM 6?
I have a variable named id
that needs to persist in a single process instance. Currently I'm using I/O Parameters
to pass this id
variable from one task to another task for all the tasks in the workflow. Is there a way that I set this id
variable at the start of the process just once and able to access this id
variable in all of my custom work item handlers? Is using global variable a suitable way to do this? If so, how I can access the global variables in a custom work item handler?
Thanks!