Duplicate identification will allow you to automate the way you work with lists that contain duplicates. In the following you will see an example in the form of a scenario.
As a PROCESIO user, I want to have an action that identifies duplicates in a List (the list must contain data models). The action will help me obtain a new list containing only the unique values.
The example requires a process with just the Duplicate identification action with the following configuration.
Step 1. Create a new process and give it a name.
Step 2. Drag the Duplicate identification action to the canvas and link it to the other actions.
Step 3. We will use in our example the employeelist data model.
Step 4. Add the needed variables.
We will use the data type created in the previous step to create the input variable <%input_list%> and the output variables <%duplicates%> and <%unique%>. The <%correlation%> output variable will use the preconfigured correlation data type that you can find in the Type dropdown.
Step 5. Click the Duplicate list action to access its configurations and click the button Configure.
Full/Complex JSon configuration explanation:
IMPORTANT: If Fields1 has the alternate fields Field2 & Field3 does not mean that Field2/Field3 has Field1 as an alternate field.
Step 6. Save and Validate the process.
Step 7. Each time you will run the process you are expected to add the list you wish to check, for this example we used:
Step 8. Click Run and add the list.
Step 9. Click Check instance to see the results in the output section.