I opened an issue for that and attached a patch.
https://jira.jboss.org/browse/JBPM-2904
Reply to this message by going to Community
Start a new discussion in jBPM Development at Community