Upon submission of an HR case , an informational message will appear at the top of the portal page

Astik Thombare
Tera Sage

Hi Community ,

 

Whenever a user submits an HR case, an informational message should appear at the top of the portal page with a case link. This message should say 'Thank you. Your request [Link to Case] has been created, and we are working on it. You can check its status in your Requests.' and after that the page should redirect to certain portal page . Is there any OOB functionality to achieve this in HRSD ? If not then how to achieve this requirement .

 

Thanks in Advance !!

1 ACCEPTED SOLUTION

@Astik Thombare In the record producer script you can use portal_redirect to redirect user to a specific service portal page.

producer.portal_redirect = "sp?id=sc_home"

 

For more information, please refer to https://docs.servicenow.com/bundle/washingtondc-servicenow-platform/page/product/service-catalog-man...

 

View solution in original post

3 REPLIES 3

Sandeep Rajput
Tera Patron
Tera Patron

@Astik Thombare I am assuming you are raising a case via a record producer, inside the record producer script you can use gs.addInfoMessage() to show the message with the case link. You can take inspiration from this support article https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0691931.

 

Here the link of the backend view is prepared, in your case you can prepare a link to the https://<your-instance>service-now.com/esc?id=hrm_ticket_page&table=<your case table name>&sys_id=<sys_id of your case>.

 

Here is an example URL

 

https://someinstance.service-now.com/esc?id=hrm_ticket_page&table=sn_hr_core_case_total_rewards&sys_id=8e1e47894773b51092c98021336d431e

Hi @Sandeep Rajput ,

 

Thanks for the info and after submitting request the page should redirect to particular page (check Screenshot) . how to achieve  this ?

 

AstikThombare_0-1714794131766.png

 

@Astik Thombare In the record producer script you can use portal_redirect to redirect user to a specific service portal page.

producer.portal_redirect = "sp?id=sc_home"

 

For more information, please refer to https://docs.servicenow.com/bundle/washingtondc-servicenow-platform/page/product/service-catalog-man...