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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-19-2019 03:40 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-20-2019 06:18 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-20-2019 10:04 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-21-2019 02:35 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-21-2019 09:52 AM
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,