Trigger pipeline from another one

one of our teams is going to put in place a new pipeline for automated testing, essentially every time a new code is deployed into staging environment they want to run this pipeline. My initial idea was to use the On Pipeline Completion trigger but the team pipelines does not finish when the code is deployed to staging, it has a manual approval step to deploy to production, so the trigger won’t work as the pipeline is not completed when the code is deployed to staging.
Is there any way to start this new pipeline as an extra step once is deployed to staging?
or any other way you can think of?


Hey Jorge,
Welcome to Harness Community!

When and where do you want your pipeline to execute based on the previous pipelines ? Because using custom triggers could be one possible approach in case On Pipeline Completion trigger is not working.