Accessing the field of a table from the flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2024 08:37 AM
Hello,
I have a flow and on this flow, I call a decision table.
You see the answer is a record from sys_decision_multi_result table. What we see above starting with "ManPayment - Task - ..." is the label field on that table on this record. What I want is to have this label record and check if a certain phares is contained by this label (such as Back-up Assignee).
I created a string flow variable and tried all the possibilities by scripting to assign this label to this variable. You can see what I tried below:
None of these 3 options worked. The best I can get is the sys_id of the record but I need to access to label column.
I would really appreciated if anyone could help!
Thank you.
Cheers,
Firat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2025 12:01 PM
I was in this issue today, and no matter what i did, the decision table always returned to value, not the label.
I found however i could indeed get the label, but only via script. I did it like this:
fd_data._1__make_a_decision.answer.result_elements.u_jira_priority.getDisplayValue();
So whatever your field is called, just put .getDisplayValue() after it, and it will get the label correctly, would be nice if we could choose what to get in the data pill 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2025 12:27 AM
@Casper6060 Thanks Casper. I had found another workaround (which I forgot at the moment :)) but next time I will definitely try this trick!