How to get the duplicates from an array:
i/p:{1,2,2,3,3}o/p:{2,3}
Discussion posts and replies are publicly visible
Hi, Please try to use this
a!localVariables( local!a:{1,2,2,3,3}, a!flatten(a!forEach( items: union(local!a,local!a), expression: if( length(wherecontains(fv!item,local!a))>1, fv!item, {} ) )) )