Expand my Community achievements bar.

In Fusion, how to check duplicates

Avatar

Level 3

Hello,

 

I have a Workfront Read Related Records in a Fusion scenario that returns a bunch of bundles in the Output.

There can be two or more bundles that could potentially have the same name and I need Fusion to check that:

 

For example:

 

OUTPUT:

Bundle 1:

  • ID: 001
  • name: hello world
  • objCode: TASK
  • Total number of bundles: 10
  • Bundle order position: 1

Bundle 2:

  • ID: 002
  • name: hello world
  • objCode: TASK
  • Total number of bundles: 10
  • Bundle order position: 2

Bundle 3:

  • ID: 003
  • name: very frustrated
  • objCode: TASK
  • Total number of bundles: 10
  • Bundle order position: 3

Bundle 4:

  • ID: 003
  • name: feel dumb
  • objCode: TASK
  • Total number of bundles: 10
  • Bundle order position: 4

...

...

Bundle 10:

  • ID: 010
  • name: nearly there
  • objCode: TASK
  • Total number of bundles: 10
  • Bundle order position: 10

 

In this example I want Fusion to return these two duplicate records (Bundle 1 and Bundle 2) in the subsequent module.

 

As I understand this is not an array where I can just iterate through it and identify the duplicates...

 

Any idea how to achieve that?

 

Thank you!!!

0 Replies