 Hello friends. I am Sanjay Gupta. I welcome you on Sanjay Gupta Tech School. In this video, I am going to demonstrate how you can implement multiple criteria in processes using process builder in Salesforce. Meanwhile, if you want to watch Salesforce training videos, you can search my name Sanjay Gupta on YouTube and you can follow my YouTube channel. So here you can see I have cloned my existing process which is on account object. It will trigger whenever a record is created or edited. Then it has one criteria where account type is equals to prospect. So if this criteria is true, then this immediate action will be performed, which is for field update. So this process is having one criteria. Now I'm going to tell you how you can add another criteria and what is the use of these true calls and this stop button. So if I add one more criteria, so let's say criteria name is check account. Then we need to choose one of these three options, conditions are met, formula evaluates to true and third one is no criteria, just execute action. So let's say I'm choosing first one and from here I need to choose a particular field. So let's say I'm choosing account rating is one and I'm saving this. Right. If this is true, then I want to add one more action for this criteria. So let's say I am adding post to chatter. chatter will be posted to the current record. This is test chatter post and I'm saving this. Right. So this way I created two criteria along with two different immediate actions. Right. Now if you want to add one more criteria, you can see one more diamond shape is available here to add criteria. So you can click here and you can choose a particular criteria as well. Right. Now, if this first criteria condition is true, if this criteria condition is true, it means whenever you are creating your account or updating your account record. If account type pick list is containing prospect, then this immediate action will be performed. Right. Because this is a true part and stop means this process will be terminated terminated from here. If this criteria check account type is false, then only this check account criteria will be tested. If it is true, then chatter post immediate action will be performed. If check account criteria is false, then nothing will be happened. So if both criteria are false, then nothing will happen if anyone is true. Let's say if first is true, then this update active field action will be performed. If first criteria is false, then only second will be checked and if it is true, then only chatter post will be happened. Right. So now if you want to execute both, let's say if check account type is true and you want to execute this criteria as well. So you need to click on this stop and here you can read the message when this criteria is true and the process executes the associated action group. What should happen next. So if this criteria is true and these actions are executed, what you want, stop the process or evaluate the next criteria. So right now you can see stop the processes chosen by default. It means first criteria is true. It means another will not be executed. Now we want to execute another criteria as well. Better first is true or false. So I'm choosing evaluate the next criteria and clicking on see. So here you can see if check account type criteria is true. Then these immediate actions will be performed and then evaluate the next criteria. So this time both criteria will be tested whether they are true or false. So this way you can change this stop action to evaluate the next criteria. If there is one more criteria, then you can change this top as well. But right now if you click on this, so it will show an alert message to continue the process after evaluating this criteria define the next criteria. So after this criteria, we don't have any other criteria. That's why you cannot change this top to evaluate the next criteria. So after this criteria checking whether it is true or false, your process will be stopped. So this way you can implement multiple criteria along with multiple actions and you can decide which criteria will be executed. And you can also set like if first criteria is executed, you want to execute another criteria or not. Right now if you want to change the order. So here you can see a small block is available in blue color. So if you click and drag and drop, so you can change the order of your criteria. So here you can see check account criteria is now first and check account type criteria is now second. So this way you can simply drag and drop the order of your criteria. But here you can see if check account is true, then this will be stopped. And if this is true, then it will evaluate the next criteria. So now we need to modify this as well. So from stop, you can set this and this is by default a change to stop because it is not having any other criteria after this. So this way you can do these things that I demonstrated in this video. I hope you understood whatever I demonstrated in this video. So this will be helpful while you will be implementing your processes using process builder in Salesforce. If you want to watch more Salesforce training videos, you can search my name Sanjay Bukta on YouTube and you can follow my YouTube channel. Thank you for watching this video.