Hello So let's continue this thing this flow IE to this scenario in this video first one I will stop so IP surface and I will see if this will catch the exception and the call to error management then I need is a process to go inside this loop and I need while it is in the loop I need to update the stock it should go out from the loop and go and in that process. So, we need to test this scenario first this is our web surface which is running So, let us now stop stop stop surface so, this web service now is not running political going to the our composite version and let us now priestess to this the new innocence Okay, this is our web surface This is our whoops surface URL wisdom here I will enter the data maybe Mohammed Egypt my customer man item code is 01 is a keyboard I think there's only one quantity that has asked for five and raise this to observers.
Okay so it is now this is successfully if we back again here in the flow in essence sailfish iPhone one is running it should be for approval is refresh here our requisition approval. So once it is approved it should go for the web surface which is done should be captured and to go for the Arab roses. So let us now approve and see what will happen Okay, gone back here so there's three fresh running Windows open and see what's going on okay as you can see it is failed here and because it is fate is go and he carried arrow task which is running now your task. So now I will log in with a admin user I should see one error passkey created okay i'd find here my error task, this is your task okay this is a fault name is remote fault okay this is information.
If I approve is that this task it is still not Running because all surfaces will go and create again so it does approve it. Actually it will go back again to the main process and recheck it again and it will recreate it again if you want to see the history behind this you will find it is it isn't your task once is the admin Barris okay or approve it we'll call it again it is failed. So it is called error task. So to get out from this, we have to start our web service. So I now I will run my web service again. Okay, just check.
Now my web service is running. So if the user now has admin user base, okay and the arrow task approves their task it should back again here and it should go inside the loop because the quantity is not available. Okay and once we add here the quantity, it should take it from here on out from the loop automatically This is what we need to do. So, here I will go to the admin, I will organize the task. So, once I press approve now, the flow should be inside the loop. So, let me approve it.
Let me back again here should go now inside the loop, it should be now still one minute for says hello if I search, refresh, refresh it is running. It does now update the stock maybe with a comment, it should go automatically forms a loop and it was there was a five and a three refresh your foot should be complete, automatic So, now we We have this double scenario. here if you want to see what exactly happened in this flow after two time it's chick. Little school here is a three. So the flow is started, go. Here's error management task after Thurman's mother cheese's took again it is error because our surface is that when again it will call call against error.
Then I run the web surface. It shows us took it go inside the loop. She took off for 20 seconds, goon says a loop. After that once I add quantity in the stock, update the quantity soak it go out and withdraw and sit into vacation and So you should even receive email for all of these things which here's your order is ready Hey Mohammed your order is ready. So now we tested almost the old scenarios we tested if it isn't happy pause go straight with this if it is not exist and to go to the supplier receive or rejected back to supplier receiver updated approve it it will go and update the stocks indentification if the surface is though it will call error process if it is inside the loop and the stock is obligated to go out automatically and since So, this is the whole process and how we can trace this process and how we can say to to vacation, I think after this session And applique ppm application you should have now good view good image about how the BPM is working from nicus to video I will talk about some feature in human task.
So see you Nick activity