Skip to main content
Nintex Community Menu Bar

How to validate for duplicate row entry on a list view

  • October 24, 2017
  • 4 replies
  • 43 views

Forum|alt.badge.img+2

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

 

Thanks in advance..

4 replies

Forum|alt.badge.img+15

Hi,


 


Is this what you are looking for?


Forum|alt.badge.img+2

Hi,

 

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


Forum|alt.badge.img+2

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. 


Forum|alt.badge.img+10
  • October 26, 2017

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