pstmt.executeUpdate();
createCaseEvent_impl(gCaseDatabaseImpl,workflowProcess,conn,false,pkgId,processId,caseId,creator,new Date(),WorkflowProcessEvent.CASE_CREATE,"");
WorkflowActivity beginActivity = workflowProcess.getBeginActivity();
List outTrans = beginActivity.getOutgoingTransitions();
WorkflowTransition firstTransition = (WorkflowTransition) outTrans.get(0);
WorkflowParticipant operator=creator;
WorkflowActivity firstActivity = firstTransition.getToWorkflowActivity();
String workId =
createWork(gCaseDatabaseImpl,operator,conn, workflowProcess, caseId, firstActivity, creator, creationTime);
createPath(gCaseDatabaseImpl,workflowProcess,operator,conn, caseId, null, workId, WorkflowActivityEvent.WORK_DISPATCH);
createCaseContext(gCaseDatabaseImpl,workflowProcess,operator,conn, caseId);