public void createAndStartProcess (String packageId, String processId)
throws RemoteException, InvalidKeyException {
ProcessDefinitionDirectory pdd = null;
try {
pdd = wsc.getWorkflowService().processDefinitionDirectory();
ProcessMgr pmgr = pdd.processMgr(packageId, processId);
Process p = (Process)pmgr.createProcess
(new DefaultRequester(wsc.getWorkflowService()));
if (isStartInDebugMode()) {
p.setDebugEnabled (true);
}