Skip to main content

Dears, The requirement is , have to validate whether the list item view contains any duplicate values.

 

Thanks in advance..

Hi,


 


Is this what you are looking for?


Hi,

 

Yes, but its not working. Is there any other way to acheive this.


Dears,

 

Follow the above post and provide values as below for the parametes its working..

 

Workaround:
Create 3 parameters
current string - text 
dupsFound - number set to -1
valid - bool true

Using an unbound rule as the inner for loop, and calling “then execute another rule” rule as the outer for loop creates the logic necessary to check for duplicates. 
When a duplicate is found dupsFound 1 in a statement, 
If dupsFound >= 1 set valid to false. 


http://community.k2.com/t5/K2-blackpearl/Is-it-possible-to-compare-two-SMOs-Loop-trough-all-items-and/m-p/87694#M27254

 

Create some Oubound Rule to Verify and return the result. yes is possible !!!.

 

Then only bad thing is SMO does not have a Loop for each... only a List View.

 

Hope this helps =)


Reply