if that code resolved your issue please double check if you use 5.4 libraries as that approach was used before 5.4
HTH
Reply to this message by going to Community
Start a new discussion in jBPM at Community