// Deploy the process
jbpm.deployProcess("simple-process.jpdl.xml");
// Start the process
Object process = jbpm.startProcess("simple", null, null);
assertNotNull(process);
Object processId = jbpm.getId(process);
// The process should be started and in a wait state.
process = jbpm.lookupProcess(processId);