Hello, last video we have implemented the navigation route between pages and I show you how from department you can go to same bill we and how from in blue you can go to the department using one of the predefined ADF task flow come we want to create an application it is by default created and you can use it as a navigation to find navigation route between pages. In this video I will talk about what about the difference between task flows and what type of task flows in EDF There are two types of task flow. One is bounded task flow and second one is unbounded task flow. Let's now talk about the simple one which is unbounded task flow. Like what it is currently now, unbound task flow is just like one box, one place, you can just drop pitches on it. That's all You can define some navigation rule between pages.
This is the only benefit of the unbounded task flow, it just do this feature set you can both some pages define some navigation rule, that's all but bounded task flow is fully different Zen unbounded task flow, because it has lots of other features. Let's see how to create unbound task flows and I will talk about bounded task flow. So you just create here new if Tosca flow okay. As you can see here, once you create it, it gives you an option if it is bounded task flow or unbounded task flow. If it is task flow, it would create something like this. Just one place you can put any beach on it and define some navigation.
But if you could eat bound those who flow This is we'll have some more feature like can EPG fragment or a create train. So, let's now create pitch pitch fragment and this is will be with right here maybe dash to know it is about bounded task flow, it should have some entry one entry point. It means, once you call on boskie flow it has to call an in this entry point default entry point and it can have multiple exit point from bounded task flow. You can create big fragment it means if you have a region in the page, you can have here this page one beach but the content of the beach would be regions for one page, so easy to implement something like this, you should create bounded task flow from Mountain View flow you can create train you know something like naked register legs register nickers nickers nickers I will implement the tree and you will see it.
So, bound Tosca flow has a lot of features. So, let's implement this you make example for bound flow and see when you can use this bounded task flow for unbound Tosca flow you already know it now, is it just like a space or you can just put some pages and find some navigation rule, but this now talk about bounded task flow, bound task flow, as I said, you can create here, this is a view here you can put it a beach here. So I can say for example, This is depth. We'll double click on it to create the page itself. As you can see this GS f f, it means this is a fragment it will create region I will show it to you now, okay. So, this is like a G if now source.
Okay, go to the bonus flow, I would create another one. Okay, sorry, we can name it, maybe buoy It would be nice if it is a region Okay. Now I need to implement the same department Ember UI, but instead of using bounded task flow and boskie flow I need to limit it using bounded task flow. Okay, as you can see here, one view With a circle, it means this as a default. So once you call this bonus flow, the department will be loaded. If you want to use this as a default, you just right click here and you can mark activity as a default in that case, this will be the entry point was this bounded task flow let's back again to as a default, so the entry point of this flow will be the department's here you can define the same like navigation rule which we did in onboarding flow.
So from anywhere I can go to the department and from anywhere I want to go to amp okay. Because of this bound Tosca flow has region GS if page we need to add this region inside One main JSF So, you have to create a one page as a container GS if container this is I can say main and this main page will have the bounded task flow. So, you just create this here is a page as a region as you can see, this is region. So, this gsf Beach main GC page, this is a beach which you should run it and the body of this page as you can see here in the form is just region this region is going to to this bounded task flow. So, once you run this page, the content of this page will go to the bound Tosca flow and we see what is the entry point and it will load the dip disease If so, In the GCF if if you have a look in the structure, you will not find a view and document on four legs use f like this, because this is for the main beach which you will run them the GS f which is a main bitch which you have to run.
So, in because this is just a region you will define here in this component GCF component the content of this region. So, this is the department at a department table from the data control which we create before reverse video I will add here like tables if table sorting filtering single row and you can make it read only table Okay, so in this region i just i The table in the MBE which is will be the detail Okay in this region I will as MPP here as a table you can enable sorting I will talk about the table later. So, this is this nice feature and it is good feature as well as it will be fast and improves the performance because actually you have only one JSF page and the change would be only in the region the body of this page will be region this region in your region will point to bounded task flow okay.
You will you will can go to a nose are bound to flow which bound to flow It is point two you can just right click and go to binding. Here you will find that in the web inf Tosca flow definition bounded XML, this is a file which the region this region is pointed to. So, once you run now the main GS if the body of the images if which is a region will go to the bounded task flow. And because of this is a bounded task flow, zero an entry point and we can say the entry point will be the department. Okay, it is a default but maybe GTFO sometimes Maple exists. So it's the entry point here is the department.
And once we press a button in the department, you should go to the employees so let's define this button. Let's see here. If you have multiple components if components so you can just serve them This table was born in group two groups a component i will talk about it later, but just in case if you want to know what I am trying to do, because I need to add a button, so we have a table and the button we should grow both in one band group and before the table insert before the table I will add a button. We are now in the department. So let's say we used and from section you should select the AMP here from section you should select amp same Inza mbv just if if she's if if it means as I said it is a region. So you will not find the for more document no to just like as just like the components content.
So I will surround this table was born and grew and I will Okay. And certainly before CES table, I will insert bottom before it and I will say here okay hands action, I would say is a direct outcome. So what should we run now you can turn she's if you're a click you will not find in Iran because this is like a region note page you have to have one page which hold this bounded task flow. So let's now run the main page here and see how was a bounded task flow now is working See, once we run the main GS if as you can see in the URL it is now main GS if this page, the content of this page is bounded task flow. So, once you Woods about task flow, what is the default activity This is a default activity. So, I will lose a department you can select your department and go to the employee you should see the employee for the selected department and you still in the main GS fpH, because it is only one page but the content of the page is a region loaded just fpH inside it, if you back to the department you will find here I mean it is the same only regions of the page is loaded.
So this is one of the bar full of the bounded task flow. So, The first difference between bounded task flow and unbounded task flow that bounded task flow has an entry point bounded task flow can create as if beach and use it as a region in the page. But you can do this in on an on both task flow in on both task flow you can just create main beaches if pages and the Edit page and defines the navigation route between the pages. But if you want to implement the region, that case you have to create unbounded task flow and you can select a default entry point and you can define the navigation rules same like about token flow and it drags this bar bounded task flow to the main one of the main beach as a region. This is how the difference between bound token flow and unbound flow.
Nick is a video I will show you a new feature of bound Tosca flow and And how the Bonus Gift row is a has a very good features and how it is fully different than unbounded task flow. So let's continue about bounded task flow in next video. So see you next video