HiI hope your doubt is to find out the trigger name which triggers the parent Pipeline and if it's trigger2, you will have to execute a set of logic. Pls correct if my understanding is wrong.
From the parent Pipeline you can use the below expression inside an if condition and compare with trigger2. In the true part, call child pipeline and in the false part, have a wait activity. This need not be done in child. If condition can be implemented in parent itself.
pipeline().TriggerName
Please try and let us know if that helps or you need clarification.
Thanks