コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.
解決済み

Storing unique entries into a data store

Avatar

Level 10

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.

 

Screenshot 2025-02-14 at 3.59.02 PM.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Does anyone know how to do this?

Thanks,

Nick

トピック

トピックはコミュニティのコンテンツの分類に役立ち、関連コンテンツを発見する可能性を広げます。

1 受け入れられたソリューション

Avatar

正解者
Community Advisor

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))

元の投稿で解決策を見る

4 返信

Avatar

Level 10

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

Avatar

Level 10

This will work too, thanks, Lars!
Decided to go with Chris' option since I can cut out the data store.

Avatar

正解者
Community Advisor

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))

Avatar

Level 10

Perfect!!  This is what I needed.  Thanks, @ChrisStephens