Unfortunately, this did not work for me. When I tried, this, a JbpmException was thrown by ExceptionImpl.getActivity(). It's message was "no environment to get org.jbpm.pvm.internal.session.RepositorySession".
Reply to this message by going to Community
Start a new discussion in jBPM at Community