One way of doing it could be by seting variables of the StatefulKnowledgeSession. The StatefulKnowledgeSession could be passed to the constructor of your work item handler.
Reply to this message by going to Community
Start a new discussion in jBPM at Community