Here you can find many examples:
https://community.jboss.org/people/bpmn2user/blog
Variables are setted in the properties tab, you just need to insert name, type and value. Then you can call them in the nodes.
Hope this helps.
Reply to this message by going to Community
Start a new discussion in jBPM at Community