if (workflowWork instanceof WorkflowSubWork)
{
for (int i = 0; i < sizePerformer; ++i)
{
performer = (WorkflowParticipant) users.get(i);
WorkflowSubWork subWork = (WorkflowSubWork) workflowWork;
dispWorkId =
caseDatabase.createWorkflowSubWork(
workflowProcess,
operator,
userTransaction,
workflowCase,
workflowActivity,
subWork.getParentWorkflowWork(),
performer,
subWork.getDispatchTime());
dispWork = caseDatabase.findWorkflowWork(workflowProcess, operator, workflowCase, dispWorkId);
caseDatabase.createWorkflowPath(
workflowProcess,
operator,