- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-04-2022 06:12 AM
For a certain flow, I get catalog variables. One of them is a lookup select box. It looks at a certain value field from a table, which is a choice field, so there are labels and a value. I want to be able to access the labels in a flow designer script. So far, I am only able to get the values. getDisplayValue() is not working for this. I was wondering how I would be able to access the label.
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-04-2022 06:23 AM
Hi,
Can you share what you've tried thus far?
.getDisplayValue() should work if used sort of like this (example😞
var lab = fd_data.trigger.request_item.variables.variable_name.getDisplayValue();
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-04-2022 06:23 AM
Hi,
Can you share what you've tried thus far?
.getDisplayValue() should work if used sort of like this (example😞
var lab = fd_data.trigger.request_item.variables.variable_name.getDisplayValue();
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!