Hide Record Not found tab in Agent workspace while transferring the HR Service to different CoE.

Ramkumar Thanga
Mega Sage

Hi,

 

When the HR service of the HR case is changed to a different CoE table, the current record will be removed and a new record will be getting created with the details in the corresponding changed HR service table. So it opens the new record in the next tab and the previous tab shows as "Record Not found" due to the removal of record from the table. So is it possible to hide the "Record Not found" tab.

 

Thanks!
Ramkumar

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

@Ramkumar Thanga 

please share the exact steps to reproduce and the screenshots.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Ramkumar Thanga
Mega Sage

Hi @Ankur Bawiskar ,

 

We are achieving this through a custom UI action to change the HR service by removing the current HR case.

The UI action removes the current record and creates the new record in the corresponding table as per the user input. Due to the removal of record, it displays "Record not found" error. So want to know whether there is an option to remove this Record not found tab through Workspace client script.

@Ramkumar Thanga 

if you are deleting that record then it will show that message

you cannot remove that

share your exact UI action script

If my response helped please mark it correct and close the thread so that it benefits future readers.

 

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Ramkumar Thanga
Mega Sage

@Ankur Bawiskar ,

 

The UI action script doesn't deletes the record, it sets up the HR service, 

'sys_class_name'[COE], Finally it updates the current record which moves to the other table with the same sys_id through a script include.
 
So the error occurs with the current tab as "Record not found".
 
Thanks!
Ramkumar