- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2025 01:50 AM
Hi Friends,
Looking for some help into HRSD Employee Relation HR cases and HR Agent Workspace.
We are using a record producer to create employee relations HR cases, all of the provided variable’s details are getting generated and stored into Description with the help of below script.
new er_Producer().createCaseFromProducer(current, producer, cat_item.sys_id);
Please help us with below questions if anyone can.
- What will happen if we’ll remove this line of code from record producer script and make our description custom JavaScript code. Apart from description, will there be any other impact.?
- Our customer wants all variables details should be available on HR Agent Workspace? How we can do this? It’s good practice to create fields on HR ER Table and map with variables?
- Any there any way to bring only variables data into HR Agent Workspace ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2025 03:10 AM
Before - No variable editor on form in workspace
After
1) created new UI formatter for HR Case in HR Core scope. to copy the formatter name see the incident variable editor
2) then added that on HR case table "Workspace UIB" view - Ensure you are in correct scope
Created a new form section "Variable Editor". Save
Output: HR Case in native shows variable editor in particular form section
HR Case in workspace shows the variable editor in section
I hope I have answered your both the questions.
You can mark both of my responses as correct as per new community feature.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2025 08:39 PM
I believe I have answered your question on how to add that in my above responses.
Please mark my both the responses as correct and close the thread.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2025 02:49 AM
Also, Can we do something so on HR Workspace so that variables can come into a different tab or some other way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2025 03:10 AM
Before - No variable editor on form in workspace
After
1) created new UI formatter for HR Case in HR Core scope. to copy the formatter name see the incident variable editor
2) then added that on HR case table "Workspace UIB" view - Ensure you are in correct scope
Created a new form section "Variable Editor". Save
Output: HR Case in native shows variable editor in particular form section
HR Case in workspace shows the variable editor in section
I hope I have answered your both the questions.
You can mark both of my responses as correct as per new community feature.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2025 03:31 AM
Please mark my both the responses as correct
AND
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2025 10:37 AM
Hi @Ankur Bawiskar - Thanks for Your responses. and support.
But, I have check and can not found any variable Editor into HR Cases. Also. If we will enable this Will it apply to all HR Cases or We can specify only for ER Cases.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2025 08:39 PM
I believe I have answered your question on how to add that in my above responses.
Please mark my both the responses as correct and close the thread.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader