HR Agent Workspace - Cards on the home page return the parent table name instead of child table nameDescriptionOn the HR Agent Workspace, clicking on one the cards on the home page would always open the case with /sn_hr_core_case/ in the URL rather than using the child table nameSteps to Reproduce 1. Activate HR: Scoped, HR: LE, HR workspace plugins with demo data2. Imperonsate 'Roger Seid' and open the HR Agent Workspacehttps://demonightlyhr.service-now.com/now/workspace/hr/home3. From the Home, on the 'All cases' carousel, click on the card for one of the cases, i.e. 'HRC0000914'4. The HRC0000914 case will open with the following URL:https://demonightlyhr.service-now.com/now/workspace/hr/record/sn_hr_core_case/006921103b10001052ca655593efc4005. Back on the AW home, on the 'My Cases by Request Type' donut chart, select 'Request Relocation Assistance'. This will open a list of cases.6. Click on the HRC0000914 case from the list view. The URL will be like:https://demonightlyhr.service-now.com/now/workspace/hr/record/sn_hr_core_case_workforce_admin/006921103b10001052ca655593efc400Expected Behaviour:Regardless of how you get to the case, the URL should use the actual case class name (child) rather than the parent sn_hr_core_caseActual Behaviour:When opening the case from the Card on the 'All cases' carousel, the URL will always default to sn_hr_core_case (even for LE cases)ISSUE:If some fields or variables are only defined on a child table, some functionality might not work as expected when opening the case with the parent URLWorkaroundIn the "_getCardFromRecord()" function of Script Inlcude "hr_WorkspaceLandingPageCards"https://instance_name.service-now.com/nav_to.do?uri=sys_script_include.do?sys_id=d82140dde7360010809a268b03f6a9e3Replace line 128:table: record.getTableName(),with:table: record.getValue('sys_class_name'),Related Problem: PRB1451501