Hello, last video, I quickly show you what is invitation which will we will use while developing or wire design any BPM process. I think you you're still not fully aware about this notation or you don't imagine what executors notation. So, in this video, I will try now to make some of this notation and create a symbol process. So, that you will see how we how we can use it, how we will run this process, how we can trace this process and we will do some good things like we will create a web surface seeking to insert some data in database table we will do all this things. So, as I said before that the first step for developing any BPM project is to design a process. So, I will design now assemble process will Which is the register a new employee.
So here's the initiator okay. The initiative we can see here and it new buoy or any register use duration okay. This is the school initialize the registration after a user data which you will be entered for registration maybe the user name, date of birth, maybe salary and department which you will work on the position maybe. So, after that, I will check the salary if the salary annual salary is greater than 50 K. I need this to be approved first from the manager and if it is approved from the manager, it will store in the data base. It is reject, it will not store and is the process will end, but if the center is less than 50 K, it should be inserted straightaway to the database. So, what actually we will do is we will first we will first create new designs a process this is a free sync, so, we have here in process any registration.
So, after that I should check the salary So, I will have to add exclusive gateway here salary he started saying 50 k okay if the salary greater than 50 k i need to call the manager so I will have another human task a roof salary Okay. Here's the tool ask for a role I will talk about this role later. So, I will call here approval rule. So, here is a beep M is likes number of lane he then has a different rule we can here change the rule and create another rule call it rule is used to ration role okay. So, this task in the land of the introduced ration rule and this task will be as approver role Okay. Then I will have here to add here an avocation or sequence flow.
So I will add here a conditional sequence flow This is should be condition I will write the condition which is check if the salary greater than 50 will go here and after. After that it should go for check if it is approved or reject. So I should have to get another gateway here to approve or reject. So, we just will add here a default sequence. So, what I am doing now is just design I didn't write anything, just some one have knowledge about the process. We'll just sit and he will just design the flow or the process after that we will go for implementation, but now in that we are in the design phase.
So, after the approved here I need to add another gateway approved for example, is approved or not. Okay, so if it is approved, I need to insert the data into the database Actually, there are two ways to insert data into the database. One is using a web surface to send this information to a web surface and web surface will insert the data or you can have a database adapter is a is a new component in in BPM to service database. But actually in most of the real system and production system CMR two I am using a My company is using roof surface all is calling our surface to menu believes that data so what we will do here I will add a surface which we'll call a whip surface to insert data. So I will add here a new surface or this condition. As you can see I big the condition of the surface mutation to insert that auto cola whip surface and search you Louis and I will add here at the condition of sequence here this is just a symbol This is just a symbol process.
Now, I as you can see here, we use four or five we have start start is one was the notation here, it means this process will start this started means this Boris's will initiated manually from the user. Xin we have another human task, initiator human task and we have a user human task, we use exclusive gateway and we use surface notation and buy in it will end of the process will be end. So, we have now some notation we used to design this flow. So, now with the design phase is finished and once you have a look in this process you will know this process will initiate it manually, this process will end without sending any message or sending a calling any web service will just terminate once it reaches here, there are two human task there are two lane each lane has its own role.
I will talk about this letter. So, now we finish our design. The second step is how to implement this process. So, see you next video