 Hello everyone. I'm Sanjay Gupta. I welcome you on Sanjay Gupta Tech School. In this video, I'm going to demonstrate a scenario based on scheduled triggered flow. Let's understand the requirement so that we can implement a scheduled triggered flow. So the requirement says we need to update case records on weekly basis. So we need to update those case records where case horizon is WAB and we need to put this email in the WAB email field on cases. So I'm jumping to create a flow. So before that, if I open any case record, so here you can see we have case horizon. So case horizon is having phone email WAB. So if it is WAB, so in this WAB email, we need to put that email ID, right? So what I need to do, I'm moving here and selecting all open cases. So I'm just going to configure this list view. So I'm just adding case horizon and WAB email field in the list view. So here you can see case horizon is available and WAB is available, right? So now I can create scheduled triggered flow so that we can see whether this is working fine or not. So in scheduled triggered flow, we need to set date and time. So for that, what you can do, just open any of the case record and do some changes. So let's say I'm changing the status. So from here, last modified date and time, you can see the current date and time. So I'm going to select the date as 4th of July. So here time is 10.23. So here I'm selecting 10.30 pm frequency. I'm selecting weekly because as per the requirement, we need to run this flow on weekly basis. Now, selection of this object and the criteria is optional. So I'm just leaving it as is and I'm going to select this update record. We need to update cases so I'm selecting it then specify condition to identify reports and set field individually. So here I'm selecting case. And you can select case horizon equals WAB and you need to get that WAB email field is not available here. So I think let me just open the setup. Okay, so this is a supplied email field. So let me just search it again. Yeah, here it is supplied email, right? So if you search it with the WAB email labels, it won't be available. So you can just verify what is the API and basis on that you can search. So I'm putting my email address, syngegrupter.texpool at the read gmail.com and clicking on done. So this way my flow is created which will run on weekly basis on like it will first run on this date and time and then it will be automatically scheduled for next seven days. So now I'm going to save this. I've saved and now I'm just going to click on activate. So as I click on activate so what I can do I can search for schedule jobs. So with this option, I will be able to see whether it is scheduled or not. Here you can see it is scheduled. So update cases, the label of the flow, then version is one because we created number, version number one. So version number one is scheduled right now because I activated that then submitted by is my user, then submitted date and time and the next schedule run is like after five minutes. So when it will be executed so this date time will be available in the started and next schedule run will be for 1172022 at same time. Right, so we need to wait for five minutes so that it will be executed and then we will be checking the data. If I refresh the page now. So let's check whether it is executed or not. So here you can see it is started and executed and next schedule run is 117 on 1030 p.m. Right. So after this, let's check the list view. So if I click on cases and select all open cases. So here you can see where case origin is where you can see the email is populated. Another thing you need to do in your flow. So here you can apply one more condition, like that, like supplied email is null false. If it is already having some email so in that case like we don't want to update it. So if origin is web and supplied email is not null is null false like if it is null, then only this flow will fall. So here we need to put true, not false. So if supplied email is null and origin is web, then only we need to update the reports if supplied email is already there. It is not null, then we don't need to put any email address right so this way, your records won't be unnecessarily updated. This also you can do in your flow. So this way I hope you understood like how we can schedule a flow on weekly basis.