@Bryan Bende, in the same way with routeOnAttribute processor, it is possible to regular expression.
In my dataflow listHDFS send flowfile to routeOnAttribute and i need check all subpath list above to route correctly all files in deleteHDFS.
At this moment for each directory I need to create an attribute to match a subpath of directory, so in my case I have created 35 attributes.
attribute-routeonattribute.jpg(62.3 kB)