You get it from the 'id' value in the bpmn file.
Here is an example from http://community.jboss.org/people/bpmn2user/blog/2011/09/21/jbpm5-web-example
http://community.jboss.org/servlet/JiveServlet/downloadImage/2-628109-17045/450-290/processId.PNG
Reply to this message by going to Community
Start a new discussion in jBPM at Community