added method to trigger finalize across a dataflow