HRSD Employee Relations

_Samay
Tera Expert

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 ?
2 ACCEPTED SOLUTIONS

@_Samay 

Before - No variable editor on form in workspace

AnkurBawiskar_0-1746439527998.png

 

After

1) created new UI formatter for HR Case in HR Core scope. to copy the formatter name see the incident variable editor

AnkurBawiskar_3-1746439719238.png

 

AnkurBawiskar_1-1746439581804.png

 

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

AnkurBawiskar_2-1746439665539.png

 

Output: HR Case in native shows variable editor in particular form section

AnkurBawiskar_4-1746439748683.png

 

HR Case in workspace shows the variable editor in section

AnkurBawiskar_5-1746439798738.png

 

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.

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

View solution in original post

@_Samay 

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.

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

View solution in original post

10 REPLIES 10

_Samay
Tera Expert

Also, Can we do something so on HR Workspace so that variables can come into a different tab or some other way. 

@_Samay 

Before - No variable editor on form in workspace

AnkurBawiskar_0-1746439527998.png

 

After

1) created new UI formatter for HR Case in HR Core scope. to copy the formatter name see the incident variable editor

AnkurBawiskar_3-1746439719238.png

 

AnkurBawiskar_1-1746439581804.png

 

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

AnkurBawiskar_2-1746439665539.png

 

Output: HR Case in native shows variable editor in particular form section

AnkurBawiskar_4-1746439748683.png

 

HR Case in workspace shows the variable editor in section

AnkurBawiskar_5-1746439798738.png

 

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.

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

@_Samay 

Please mark my both the responses as correct

AnkurBawiskar_1-1746441055626.png

 

AND

 

AnkurBawiskar_0-1746441040038.png

 

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

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. 

@_Samay 

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.

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