- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-19-2020 10:02 AM
HRSD Record Produce has a variable whose type is 'Lookup Select Box' referring the HR COR CASE Category field.
On the Record Producer's Script, I would like to set the HR Case's short description using the selected variable from the RP.
The trial 'var reqType = producer.getDisplayValue('category') + ''; and //var reqType1 = producer.category.getDisplayValue() + ''; returns option value, rather than Display option Text.
My last trial would be to query again on the source of Lookup Select Box data and find the display value matched on the selected value, but it looks so redundant approach.
Any comments and helpful feedback?
Thank you in advance.
Moon1
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-19-2020 10:14 AM
Following should work.
producer.category.getDisplayValue();
Do you have the Lookup label fields set to the correct field in the variable category?
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-19-2020 10:13 AM
Can you convert the Lookup Select Box to a Reference variable? That way you can use getDisplayValue like you described.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-19-2020 10:14 AM