Subject Person Field on HR Case is not taking the value selected from the variable on the record producer when the case is created via HR Portal.But when the case is created by clicking on "Try It" button on the record producer Subject person field i

Vidya Shree2
Mega Contributor

Hi,

Subject Person Field on HR Case is not taking the value selected from the variable on the record producer when the case is created via HR Portal.But when the case is created by clicking on "Try It" button on the record producer Subject person field is taking the value selected on the mapped variable

 

Thanks in Advance

Vidyashree

4 REPLIES 4

Community Alums
Not applicable

Just to verify my understanding you are using a variable in record producer which is mapped to "subject person" on hr case form?

What is the type of variable you are using?

I tried to replicate the issue with "single line text" as type what i would suggest is use type as "look up select box".


Try with type as "look up select box" and under type specification tab use "look up from table" as sn_hr_core_case and "lookup value field" as subject person.


find_real_file.png

Hi Shwetank

 

 

Thank you for your reply.

We have created the variable of type Reference which is referencing User table, and we are mapping this variable to Subject person field in sn_hr_core_case table.

We are facing this issue only when we create the case from the HR portal but not when we create by clicking on Try it button on the Record Producer.And one more thing is we are facing this issue only in Madrid Version.

Even the Question and Answers are not getting set in the description field of the HR case.

 

 

Thanks,

Vidyashree

Community Alums
Not applicable

Hi Vidya 

That's Weird!

Its working fine for me when the type is "reference".

I am not sure what is causing this issue, may be you could try once with any other variable type.
 


IC2
Tera Expert

Hi Vidya,

 

Could you try 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,