Hello @Diana Milena Coronado Granados and welcome to Microsoft Q&A.
Before the solution(s), let me explain what is happening.
Details of a given activity are only available to that activity's descendents. Even though the Failure_EmailNotification is a descendent of the Execute Pipeline activity, it is not a descendant of the Motor_Dataflow. This is because the activities are in different pipelines.
There are two ways to solve this.
- Move the Failure_EmailNotification to the child pipeline. This could place the notification at the end where it is connected to Archive_Files_Processed by both a grey skipped dependency and a red failure dependency.
- In the Parent pipeline, insert some web activities between the Execute Pipeline and Failure_EmailNotification. These web activities will be used to fetch the pipeline run details via the REST API.