result.setCaseDefinitionId(historicPlanItemInstance.getCaseDefinitionId()); result.setCaseInstanceId(historicPlanItemInstance.getCaseInstanceId()); result.setStageInstanceId(historicPlanItemInstance.getStageInstanceId()); result.setStage(historicPlanItemInstance.isStage()); result.setElementId(historicPlanItemInstance.getElementId());