HI Guys
I have two (or maybe 3 or 4) xml files arriving in an Automanaged Folder.
I need to allow only one of the files through the Flow if the Order Number of each file is the same, and the others discarded (this is the first 5 digits of the file name)
Any help would be appreciated
Remove Duplicate Files by Order Number
-
- Newbie
- Posts: 11
- Joined: Thu Sep 26, 2019 1:47 pm
- Location: Leeds, UK
Re: Remove Duplicate Files by Order Number
Hi Mark,
Use the Counter - Numberer app https://www.enfocus.com/en/appstore/product/counter
Create a counter for each order number, counter name = [Job.NameProper:Search="\d{5}"]
Sort the jobs on the condition [Job.PrivateData:Key="counter after"] equals 1 -> treat, All other jobs -> discard
Use the Counter - Numberer app https://www.enfocus.com/en/appstore/product/counter
Create a counter for each order number, counter name = [Job.NameProper:Search="\d{5}"]
Sort the jobs on the condition [Job.PrivateData:Key="counter after"] equals 1 -> treat, All other jobs -> discard
Laurent De Wilde, Solution Architect @ Enfocus