- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-26-2024 06:01 AM
I have two fields on incident table. One is business service which refers to application table and other is medal field which is a string field.
I want that based on the selected application the value of the business criticality should populate on the medal field and if the business criticality value is gold the font color should be red.
I have written onChange client script on the business service field as follows -
Using this I am able to populate the value in the medal field and also the color. But I am able to populate the backend value of business criticality in medal field. I want to populate the display value in medal field. I tried using getDisplayValue() but it is returning empty value
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2024 06:43 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-26-2024 06:19 AM
@SHALIKAS In case if
g_form.setValue('u_medal_category',br.getDisplayValue('busines_criticality'));
isn't working, then I recommend you to create a server side script include and instead of using getReference use GlideAjax to get the display value of busines_criticality field.
Hope this helps.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2024 07:28 AM
@SHALIKAS That's exactly what I recommended. You can also mark my response an accepted solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-28-2024 06:43 AM