Red Hat Training

A Red Hat training course is available for JBoss Enterprise SOA Platform

7.18. Passing Parameters to a jBPM5 Process on startProcess

This is the code for passing parameters to the jBPM5 process using startProcess. All that is required is to add required parameter as properties to the ESBMessage.
// create the ESB message
Message esbMessage = MessageFactory.getInstance().getMessage();
// add a parameter
esbMessage.getProperties().setProperty("name", "Laurel");