I have to set short description for HR Case.

niveditakumari
Mega Sage

Hi, 

 

I have to set short description for HR Service(Onboarding Inquiry) as 'HR Service case for Subject Person' instead of Opened by I have to set Subject Person. 

 

Regards, 

Nivedita

 

 

1 ACCEPTED SOLUTION

Sandeep Rajput
Tera Patron
Tera Patron

Hello @niveditakumari 

 

Please refer to this thread https://www.servicenow.com/community/hrsd-forum/default-hr-case-short-description-and-source-fields/... and apply the solution suggested by Ankur.

 

Hope this helps.

View solution in original post

9 REPLIES 9

Sandeep Rajput
Tera Patron
Tera Patron

Hello @niveditakumari 

 

Please refer to this thread https://www.servicenow.com/community/hrsd-forum/default-hr-case-short-description-and-source-fields/... and apply the solution suggested by Ankur.

 

Hope this helps.

Shraddha Kadam
Mega Sage

Hello @niveditakumari ,

 

Use before insert business rule and in the advanced condition use the below line of code :

current.short_description = current.hr_service.getDisplayValue() + " case for " + current.subject_person.getDisplayValue();

 

Please mark my answer helpful and accept my solution.

Appreciate your help !

 

Thank you.

If my response was helpful, please mark it as correct and helpful.
Thank you.

Dharma Liyanage
Tera Guru

Hi There, 

I have a similar requirement, but this is for HR Agent Workspace, not for record Producer, need to set short_ description as  'HR Service case for Subject Person'. HR Agent workspace updates the short_description with relevant 'HR Service'  when changing the HR Service, but how to add the Subject person's name when changing the subject person? [  image attached ], Before BR solution on the case table is not desirable. 

 

Thanks,

-Dharma

 

 

@Dharma Liyanage You can create an onChange script on Subject person field for workspace view and in the onChange script set the value of short description field to include the name of subject person.

 

Hope this helps.