HR Service doesn't map automatically with record producer

BKulisz
Tera Contributor

Hi Team, 

I have configured the following HR service & HR Template - It doesn't map with the selected record producer automatically and the new case is "empty" - how to fix it?

1 ACCEPTED SOLUTION

@BKulisz 

 

This error has appeared as you might have created the record producer in Global scope. There are two ways to tackle it.

1. Create the record producer in Human Resource Core scope

OR

2. Create an Application Restricted Caller Access Record as follows.

 

You need to create Application Restricted Caller Access Record within in the Human Resource Core scope as follows.

Screenshot 2024-01-16 at 3.34.48 PM.pngScreenshot 2024-01-16 at 3.36.01 PM.png

 

Once this record is created, the error will go away.

 

View solution in original post

4 REPLIES 4

Sandeep Rajput
Tera Patron
Tera Patron

@BKulisz On your record producer, in What it will contain section check if the script section is populated with the following script.

 

Screenshot 2024-01-16 at 3.14.41 PM.png

Here is the script

new sn_hr_core.hr_ServicesUtil(current, gs).createCaseFromProducer(producer, cat_item.sys_id);

 

Hope this helps.

Hey @Sandeep Rajput , 

 

Thank you for your response 🙂 

I have pasted your script and during test received the following error: 

 

BKulisz_0-1705399234959.png


Any ideas?

@BKulisz 

 

This error has appeared as you might have created the record producer in Global scope. There are two ways to tackle it.

1. Create the record producer in Human Resource Core scope

OR

2. Create an Application Restricted Caller Access Record as follows.

 

You need to create Application Restricted Caller Access Record within in the Human Resource Core scope as follows.

Screenshot 2024-01-16 at 3.34.48 PM.pngScreenshot 2024-01-16 at 3.36.01 PM.png

 

Once this record is created, the error will go away.

 

Thanks! It's working right now 🙂