I found some detailed source code examples from the JBPM5 Developer Guide's repository at https://github.com/Salaboy/jBPM5-Developer-Guide.
Reply to this message by going to Community
Start a new discussion in jBPM at Community