You can create your custom variable instance.
- the getObject() can return a lazy object (not filled in)
- once you touch this you do the bulk of work.
or store data in your domain model and not in jBPM
Thanks to both of you for the suggestions.
I ended up storing the data in my domain model, and used a jpbm variable string to reference it.
exactely like I always do it...