 Hey guys, welcome to SS Unity app, Susan Decide and today we are going to see about the pipeline dependency. So what is the pipeline dependency and where we can use this in the real time environment. So first you have to understand the pipeline dependency. So pipeline dependencies are mainly four types. So first is the success, second is the failure, third is the completion, fourth is the escape. So these four type of their dependencies are available inside the pipeline. So as we can see in this blue diagram, so here like the task A, if this is executed successfully, then we want to execute the task C. And if task C is not executed, then we want to execute the task F. Similarly, once task A is completed, then immediately task E will start execution. And if task A is completed with the failure, then task D will be start executing. So you have to understand the completion of the task A, the task E will be executed, either it will be completed with the success or failure. So always task E will be executing. So this is the first case. In the second case, if task A got failed, on that case task D will be executed and task F will be executed. And if your task A is executed with success, then only task C will be executed. So let us understand this in the real time. So go to the browser and we will try to see there. So here let me try to create a new pipeline. Let me call this pipeline as pipeline dependency. Now, so here first I want to use the if condition. So as we have already seen the if condition in the previous videos, so if you haven't watched that video, so I strongly recommend to watch that video before going forward. So inside the activity, I'm not going to do anything. I'm just going to write this as true. So it will be always true and will be executing this. That's it. So let me try to drag and drop three if condition. And here, let me put true in all these. So like this is true, similarly for this one and similarly for this one. Here, here we can see this plus symbol and this arrow. So once we click on this, then we can see the pipeline dependency options. So success, failure, completion and skip. So success is always here. So let me add the failure as well at the completion. So if this will be completed with success, then we want to execute the if condition two. Similarly, if this is fail, then we want to execute the if condition three. And once everything is completed, then we want to execute the if condition four. So this is the condition I have added here. Now, in this case, we have not set up for the skipped one. So let me try to drag and drop one more if condition. And this if condition will be added from this if condition three. So let me click on this plus symbol and add the skipped one and put it here like this. So now we have set all these. And in the last one, let me put the expression as true because we have not said anything here. Now, what will be happening in this case? Your first if condition will be executed with success. So this will be executed. And after that, your condition two will be executed. And condition if will be executed. So let me try to debug and we'll see. So as we can see, it is executed. So as per the condition, your if condition one is executed with success. So that's why if condition two is executed. Similarly, for the if condition four, once if condition one is completed, either with the success or failure, it will be executed. So that is executed. If your condition three is not executed, then your condition five will be executed that you can see here. Now, let me try to add a custom error here. So that error might be one equals to one. So it will be reflecting an error. So let me try to debug it now. So your first if condition will be failed. So as we can see, it is failed. So your failure will be executed. So that we can see if condition three is executed. And if condition four is executed, because your if condition one is executed with the failure, as I told you, either it is executed with success or failure. So if condition four will always executed. And here we can see the if condition five is not executed because if condition three is executed here. So that's why five is not executed. So this is all about the pipeline dependency. So thank you so much for watching this video. If you really like this video, please subscribe our channel to get many more videos. Don't forget to press the bell icon to get the notification of our newly uploaded videos. See you in the next video.