I recommend looking at FlowFile Concurrency configuration at process group level. It may provide the capability you are looking for.
https://www.youtube.com/watch?v=kvJx8vQnCNE
https://nifi.apache.org/docs/nifi-docs/html/user-guide.html#Flowfile_Concurrency