Hi Fusion Community,
I have an iterator module that iterators through a project's hours (many hour entries, some of which have the same hour owner ID). My iterator's output shows a number of bundles. I need a way to store or generate a list of a deduplicated owner ID's when comparing all of the bundles from the iterator output. Here's a screenshot of the iterator's output.
Does anyone know how to do this?
Thanks,
Nick
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Since it looks like you're feeding that array into an iterator, you can make your owner ID list without the iterator with this function in a variable.
deduplicate(map({your source array};ownerID))
Hello Nick,
without having tried, I would think about this approach:
1. Use an Array aggregator to aggregate your bundles into an array
2. Use the Set variable module with the array function deduplicate() to get an unique array
3. Store the values into the data store
Regards
Lars
Views
Replies
Total Likes
This will work too, thanks, Lars!
Decided to go with Chris' option since I can cut out the data store.
Views
Replies
Total Likes
Since it looks like you're feeding that array into an iterator, you can make your owner ID list without the iterator with this function in a variable.
deduplicate(map({your source array};ownerID))
Perfect!! This is what I needed. Thanks, @ChrisStephens
Views
Replies
Total Likes
Views
Likes
Replies