return getWrappedObject().accept(session,workflowWork);
}
public boolean dispatch(String sessionID, SerialWork workItem)
throws WorkflowException, RemoteException
{
Context cotext=(Context)this.workflowService;
SessionManager manager=cotext.getEngine().getSessionManager();
WorkflowSession session=manager.findSession(sessionID);
WorkflowProcess workflowProcess=workflowService.findWorkflowPackage(workItem.getPackageID()).getMainProcess();
WorkflowCase workflowCase=workflowService.getCaseDatabase().findWorkflowCase(session,workflowProcess,workItem.getCaseID());
WorkflowWork workflowWork=workflowService.getCaseDatabase().findWorkflowWork(session,workflowProcess,workflowCase,workItem.getUUID());
return getWrappedObject().dispatch(session,workflowWork);