I have a requirement to update two tables at the end of the dataflow job pipeline(based on pipeline result).
I have put my logic to update to tables in finally block.
Here finally block is executing in parallel to the pipeline
Is there a way where i can run the code at end of pipeline ?
The PipelineResult object should have a waitUntilFinish operation that you can call from within your try block to ensure the pipeline completes before the finally block executes.