Have you looked at some Wait-Notify examples (it does sound like what you're wanting to use):
https://gist.github.com/ijokarumawak/20125d663d2116c6dae1eecae8d7acbc https://pierrevillard.com/2018/06/27/nifi-workflow-monitoring-wait-notify-pattern-with-split-and-merge/ Your Notify should be on a different "branch" of your Flow than your Wait - send duplicate copies of FlowFiles to the Wait and also to the part of your flow that does the "real" processing. *Chris Sampson* IT Consultant *Tel:* 07867 843 675 [email protected] On Tue, 24 Mar 2020 at 10:05, Jens M. Kofoed <[email protected]> wrote: > Hi > > I'm trying to build a flow, where a putfile process is only allow to write > a file, if the previous file has finished the following block in the flow. > But I can't works it out with my wait notify. Since the first file can't go > through the wait block because the notify is coming after the wait block. > > kind regards > Jens >
