I have processes A, B, C which I want to run in sequence - B waits for A to finish, C waits for B to finish.
They are not communicating via channels so I can't do A.out.collect().
I have tried making dummy channels but this is problematic and a hack. The onComplete subscription doesn't seem to let me trigger another process.
What is the correct way to run a sequence of processes which are not communicating or triggered by channels?
P.S. I am aware that this is not really the intended use case of Nextflow (which is oriented around channel communication/triggers... but... I just need to get this done.)