Getting value of a choice field in Business rule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2018 10:06 PM
Hi,
I am facing some issues in getting the value of choice field in the business rule, I tried using the getValue() and getDisplayValue() in the current object but I am not getting the value in the logs.
I have one separate table and I am using the field in the table using dot walking in the list layout, suppose I have an inciednt table and I have a secondary table called xyz and xyz has a choice field called program, I am dot walking the field program to the incident form using the list layout and I am trying to insert the value into the table xyz from a business rule when the incident form is submitted, in the same incident form I have 3 more reference fields which are coming from the table xyz, but I am getting the values of those reference fields in the business rule and its saving properly, only for this choice field I am not getting the value in the business rule.
Thanks in advance 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2018 11:51 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2018 12:09 AM
do u have any choice values?
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2018 12:38 AM
yes i have choice values, if you are hardcoding the values in the business rule its populating correctly, the issue is that i am not getting that value in the current object.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2021 10:11 PM
Hello sreevishnu,
I am facing the same issue I tried different ways but not able to find the solution.
If you found the solution then Can you please share with us?
Thank You In Advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2024 01:00 PM
Try using getElement. It brings back the display value, but you should be able to do current.getElement('u_task_ext.u_client'); and it will return you the display value of the u_client choice list on the u-task_ext reference field. This is handy for both choice fields as well as reference fields. I know this was like six years ago, but maybe this will help someone 🙂