Flow Designer Script to show an approval group in 'Group Approvals' tab of a RITM
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2023 07:08 AM
Hi All,
I am trying to populate an approval group in the 'Group Approvals' tab of a RITM but it is returning me an error.
Error : attempting to use undefined input = 'current' from Knowledge Base Data Management Request
var kBId=fd_data.trigger.current.variables.getValue('knowledge_base_kdmbr');
var grTab = new GlideRecord('x_inpe_gbs_core_pep_gbs_config');
grTab.addQuery('knowledge_base', kBId);
grTab.query();
if(grTab.next()){
return grTab.getDisplayValue('knowledge_functional_team');
}
Can anyone help rectify this error?
Regards,
Saurabh
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2023 08:37 AM
Instead of returning the display value (getDisplayValue) you might need to return the sys_id.
