Skip to main content
Nintex Community Menu Bar

Using Collection Operation - Exist on duplicate value in a collection

  • June 29, 2021
  • 2 replies
  • 24 views

If there are duplicate values in a collection (e.g. Audi;BMW;Audi;Volkswagen), when using the Exists function in the Collection Operation action, which value does it return? - i.e does it return 0 or 2 when using Exist on the value Audi?

 

I am using SharePoint OnPrem.

 

Thanks,

Josh

2 replies

Forum|alt.badge.img+12
  • Apprentice
  • June 29, 2021

I think its 0 (internally it would be traversing from first element in the collection, and would exit on first occurance of the string).


Forum|alt.badge.img+12
  • Rookie
  • June 29, 2021

@JChanWorkskil you can log history for index using for loop & index variable.