Vadim Tabakman

Jump to bottom

Nintex Workflow - Remove Duplicates and Originals UDA

Although the Nintex Workflow Collection Operation action has a Remove Duplicates option, it removes the duplicates, but keeps the original.

So if you have something like this:

1,2,2,3,4,4,5

You result would be :

1,2,3,4,5

What I want, is for the duplicates and their originals to be removed.  Resulting in this :

1,3,5  (I don't want 2 and 4, because they are duplicated).

The cool thing about this User Defined Action, is that we're only using a Collection Operation, For Each and Run If action.  Using them in different ways and multiple times, but it shows how you can build some cool logic with Nintex Workflow with even a subset of the actions.

I explained everything I did in the User Defined Action in the video above.  So please watch that if you want to know how and why I'm doing what I'm doing.  Just sitting here and typing this out, makes me think that there could be an easier way to do this, but this works and it's fairly quick (depending on the size of your collection). 

NOTE: this does use a case sensitive compare, so make sure you're aware of that.

If you have any comments, questions, suggestions, please post them in the comments section below.  All the files should be downloadable in the Downloads section below.

Downloads

Nintex Workflow 2013

Download the User Defined Action (nwf) :   Download and import into the Nintex Workflow Create User Defined Action Designer page

Download the User Defined Action (uda) :   Download and import into the Nintex Workflow - Manage User Defined Action page

Download the Test Workflow (nwf) - Download and import into the Nintex Workflow Designer page

Posted by Vadim Tabakman Wednesday, September 23, 2015 8:38:00 AM Categories: Collection Variable For Each Nintex Workflow Nintex Workflow 2013 Run If
Copyright Vadim Tabakman
Rate this Content 0 Votes

Comments

You must sign in to this site to post comments.
Already Registered?
Sign In
Not Yet Registered?
Register
  • RSS





 

Statistics

  • Entries (239)
  • Comments (1725)

Categories