Close complete button is not working on HR workspace

ShwetaMayek
Tera Contributor

Hello All, 

 

We are unable to close offboarding cases in HR Work space. Close complete button is not working in HR workspace. 

Please help.

ShwetaMayek_0-1779377099876.png

 

Regards,

Shweta

4 REPLIES 4

Tanushree Maiti
Tera Patron

Hi @ShwetaMayek 

 

Refer this KB: KB2657290 Unable to Close HR Case in Workspace – Missing API 

 

Cause

The required API endpoint /api/sn_hr_core/hr_rest_api/get_complete_state was missing from the instance. This occurred due to an incomplete or corrupted installation of the Human Resources Scoped App: Core plugin.

 

Resolution

  • Repair the Human Resources Scoped App: Core plugin to restore missing API resources.
  • Verify that the Close Complete action works as expected after the plugin repair.

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

Hi Tanushree,

 

I tried repairing plugin but still its not working. 

Also, in KB it is mentioned for HR Agent Workspace and we are using HR Workspace.

ShwetaMayek_0-1779387065222.png

 

PriyaA484569014
Tera Contributor

Any solution for this I am also facing same issue

 

Wessel van Enk
Kilo Sage

Hi @ShwetaMayek,

By default the script from the UI action is not working within the workspace. We encountered the same issue and we had to add the specific script in the workspace for it to work, but it's also a different script, as it's a client script for the workspace. So you cannot copy/past from the original script.

We have done this:

WesselvanEnk_1-1782291770923.png

So we called the OOB Ajax function ''hr_CaseAjax'' and added a function to close the case:

WesselvanEnk_0-1782291883863.png

 

This worked for us and the cases are being closed as expected in the HR Agent Workspace.