If ($ParentID -like "CR*")
    {$Class = Get-SCSMClass -name System.WorkItem.ChangeRequest$
    $BusApproverClass = Get-SCSMRelationshipClass -Name ChangeBusinessApprover
    $TechApproverClass = Get-SCSMRelationshipClass -Name ChangeTechnicalApprover
    }
ElseIf ($ParentID -like "RR*")
    {$Class = Get-SCSMClass -name System.WorkItem.ReleaseRecord$
    $BusApproverClass = Get-SCSMRelationshipClass -Name ReleaseBusinessApprover
    $TechApproverClass = Get-SCSMRelationshipClass -Name ReleaseTechnicalApprover
    }