Flow Designer Set Flow Variable issue

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-22-2024 05:16 AM
Hi,
Could someone help me out please. In flow designer my first step is to look up records on the service offering table whose parent is the flow trigger record. This returns the service offering name for two records, as expected.
What I then need to do is pass the sys_ids of these two records into a string using Set Flow Variables, but I seem to be passing the script rather than the intended offering names
var list = 1 - Look Up Records➛Service Offering Records; // this is the step 1 data pill, returning two offering names
var listArr = list.split(',');
var offGR = new GlideRecord('service_offering');
var finalString = '';
for (var i=0; i<listArr.length; i++) {
offGR.get(listArr[i]);
finalString += offGR.name + ' , ';
}
return finalString;
What its returning is
var list = 3f92432e1be40a10ef6764a2b24bcb4f,c93d37341b5a7950062afddf1d4bcb38;var listArr = list.spli...
How can I get it to look up these two sys ids on the service offering tables and return the offering names.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Hi @Cirrus
I'm also facing this issue. Any updates