Issue when creating HR case from the HR Service Portal in Madrid Version

Vidya Shree2
Mega Contributor

Hi,

We are facing this issue only in Madrid Version.

When we create a case from the HR service portal Subject person field on the HR case table is not getting set with the value we select in the variable which is mapped to the Subject person field.

And Question and Answers are also not getting set to the description field of the HR case even if we update the variable values while creating the case.

But everything works perfectly fine when we create the case by clicking on the "Try It" button on the record producer.

 

 

Thanks in Advance

Vidyashree

1 ACCEPTED SOLUTION

Hi Vidyashree,

Did you try with the following?

Adding the following line to the record producer script:

current.subject_person = producer.<variable_name>;

For example:

current.subject_person = producer.Who_is_this_request_for;

 

You might need to un-map your variable if you use the previous script.

 

Let me know if that helps,

Thank you,

View solution in original post

4 REPLIES 4

hollysnyder
Mega Guru

Hi Vidya,

Do you have this line in the Script field on the Record Producer?

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

If not, add it and test out creating a case from the HR Service Portal. Hopefully, that will solve the issue.

Also, please make sure you have the correct Record Producer selected on the appropriate HR Service.

I hope this helps!

Thanks,

Holly

Hi Holly,

 

Thanks for your reply.

Yes, i have put that line in the record producer.

It works fine in Kingston but we are facing issue in Madrid version only.

 

 

Thanks,

Vidyashree

Hi Vidyashree,

Did you try with the following?

Adding the following line to the record producer script:

current.subject_person = producer.<variable_name>;

For example:

current.subject_person = producer.Who_is_this_request_for;

 

You might need to un-map your variable if you use the previous script.

 

Let me know if that helps,

Thank you,

Sanjay33
Tera Contributor

Hi @Greg D,

I am also got the same issue, I was already mention below link,

current.subject_person = producer.variable_name;

but still I am getting "HR Service is not valid for subject person" error, Please suggest.

 

Thank you,

Sanjay