Here's an example:
https://github.com/krisv/jbpm/blob/master/jbpm-bpmn2/src/test/resources/BPMN2-ServiceProcess.bpmn2
Did you define your variables you are mapping your parameters to as a process variable?
And are you sure that the data that is being passed in as the result is not null?
Kris