- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2024 11:27 AM - edited 05-03-2024 11:28 AM
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 !!
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2024 09:03 PM
@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...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2024 08:00 PM
@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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2024 08:42 PM
Hi @Sandeep Rajput ,
Thanks for the info and after submitting request the page should redirect to particular page (check Screenshot) . how to achieve this ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2024 09:03 PM
@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...