Level 1
Level 2
Melden Sie sich an, um alle Badges zu sehen
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
Gelöst! Gehe zu Lösung.
Anhand von Themen werden Community-Inhalte kategorisiert und Sie können so relevanten Inhalt besser finden.
Zugriffe
Antworten
Likes gesamt
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
Zugriffe
Antworten
Likes gesamt
This will work too, thanks, Lars!
Decided to go with Chris' option since I can cut out the data store.
Zugriffe
Antworten
Likes gesamt
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
Zugriffe
Antworten
Likes gesamt
Zugriffe
Likes
Antworten