Updating the status in database after pipeline is successfull

The usecase is to generate a uniqueID and load the uniqueID and status as “inprogress” in database.
After that call the child pipelines.If all the child pipeline gets executed successfully update the status of uniqueID to success in database.

Is there any way to make uniqueID as global so that I can use it at the end of the flow.Even I have to pass the uniqueID in the error handler of the parent pipeline.But it shows the value as NULL for the error pipeline parameter.
So is there any way to make uniqueID as global parameter so that I can use it for later processing and passing it at the start.


pipe.ruuid of the parent pipeline might be a handy value to use.


Thank you christwr it worked.