- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2024 08:24 AM - edited 08-12-2024 10:46 AM
I am trying to build a continuous list (string) inside of a loop in Flow Designer. I created 2 flow variables (one for a singular failure and one for plural failures) to track the failures and add them to the Description field of the catalog task that's created for the failures.
I set the singular Failed AD Group flow variable early in my flow (see below):
Then I attempt to capture multiple failures using the plural flow variable (see below):
The singular flow variable works fine, but the plural flow variable does not. Here is the scripting I used to build the plural flow variable. Does the scripting look accurate? Am I missing something obvious?
fd_data.flow_var.failed_ad_groups=fd_data.flow_var.failed_ad_groups + fd_data.flow_var.failed_ad_group + ',';
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2024 11:11 AM
Hi @David Trotta ,
I think the problem is you are not returning the value. Please update your script as below -
var adGroups = fd_data.flow_var.failed_ad_groups + fd_data.flow_var.failed_ad_group + ',';
return adGroups;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2024 11:11 AM
Hi @David Trotta ,
I think the problem is you are not returning the value. Please update your script as below -
var adGroups = fd_data.flow_var.failed_ad_groups + fd_data.flow_var.failed_ad_group + ',';
return adGroups;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2024 11:47 AM