 Hello friends. I am Sanjay Gupta. I welcome you on Sanjay Gupta Tech School. So in this video, I'm going to demonstrate how you can manage versions of flow and access of flow in Lightning Flow Builder. So to create a new flow, you can search flow in setup and you can click on this link and the space will be open and you can click on new flow. So first I'm going to tell you how you can create versions. So let's say I'm taking example of screen flow. I'm dragging and dropping a screen. It's label screen one. Then I'm putting a text box which will read last name from the user. It is required and I'm clicking on done. So this way screen one is created, which will receive the last name. So now I'm connecting this, clicking on save. So it is asking for the name. So label is test version. So flow level will be test version and I'm clicking on save. So this way flow is saved. Now we can test its version. So I'm refreshing this page. So the newly created version, sorry, newly created flow will be available here and we can see its version as well. So here you can see this test version flow is available. Right now it is not active because I didn't click on active button. If I click here, so from here I can view the details and versions of this flow. So here you can see first version is created and all other details build with created date and time type status and running mode. So all these information are available. Now if you want to activate the flow, you can click activate here as well and you can also click activate here. I'm clicking on activate. So it is activated. Now again I'm refreshing it. So this time you will see the flow will be in active mode. So here you can see its status is now active. If you want to deactivate it, you can click here. If you want to open it, you can click here. And let's say you want to add one more screen here and its label is screen 2. Again I'm putting a text. Let's say it is for phone number. Clicking on done, connecting it. So we modified this flow. So now we need to click on save as. So here you can see there are two options available, a new version or new flow. So if you want to create a new version in this flow, then you can select this option and click on save. And if you want to create a new flow with this addition that you did in the flow, so you can click on this button. You can provide new label to the flow and new flow will be created. So right now I'm creating its new version. Clicking on save, clicking on activate. So if I refresh the space now, so you will see two versions will be available here. Yeah, so here two versions are available. Latest version is active and another is inactive. So this way you can manage the versions in the flow. Now if you want to create a new flow with this change, so you can click here and let's say I'm mentioning it as test version 2 and clicking on save. So now you will see I'm going back to the flow list. So you will see there will be two flows with names as test versions and test version 2. So by changing that existing flow we created a new flow. So you can do two things. You can create version of that flow or you can create a differently new flow as well. Right. So this way you can manage the versions. Now if I click here and if I click on edit access. So from here you can control the access for the flow. So read this carefully. By default users with any of the following permissions can run this flow. So run flow or manage flow in the profile of permission set. So if this permission is available or flow user in the user record. So if a flow user is checked on the user record then also can access the flow. But if you want to override these permissions so you can click on this checkbox and you can select a particular profile. So if a particular user will be having these profile access then they will be able to access the flow on it. So this way you can override the flow behavior and by default these two options works while we execute the flow. So this way you can manage the access of the flow. So I hope you understood how we can manage the versions of the flow as well as how we can manage the accessibility of the flow in Salesforce Lightning. If you want to watch more Salesforce training videos you can search my name Sanjay Gupta on YouTube and in my channel you can see various playlists related to Salesforce and other programming languages. So I hope you understood whatever I demonstrated in this video. Thank you for watching this video.