Decision Builder - bug with Choices? Returning Label instead of Value

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2023 07:14 AM
Hey, I created a decision table where one of the Results is a choice:
But when I refer to that Choice result from another action in the Flow Designer, the label is passed and not the actual value of that choice.
I would expect the value, not the label to be used as runtime value.
Can anyone confirm, is this a bug or am I doing something wrong?
Cheers!
- 608 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2024 09:21 PM
I just came across this same issue today (Vancouver build). It most certainly seems like a bug.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2025 12:32 AM
Wanted to share my findings on this, as I too have just come across this issue and have identified a solution. When setting a field you can apply a transform using that "fx" icon. Then select Utilities -> Get item from Name/Values. Then in the "Key" field enter "value", then select Apply. Now the flow should return the Value instead of Label for your choice.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2025 11:59 AM
@samfindlay94 I tried using your method, it worked with putting value in the Key field, but i was already getting the value returned to me in the version i am running, which is Xanadu Patch 7a. For me i actually wanted the label value as well, i tried a lot of different combos like label, name and so on, but none of them worked, however i found i could get the display value when using script like this:
fd_data._1__make_a_decision.answer.result_elements.u_jira_priority.getDisplayValue();