Now, the car is in the repair shop, let us imagine two scenarios, the first one is where the mechanic knows exactly what is wrong with your car, and the second one where he does not know what is broken in your car. Let us start with the first one. The mechanic says that your car needs a new air filter, but he does not know if they have it in stock at the shop (this is the condition), he will go and check, if they have it (yes = condition is fulfilled), then he would just replace it (action1) and your car is good to go! If the do not have it (no = condition is not fulfilled), then he will order one and replace it (action 2) and your car is good to go! This is an example of having a rule with trigger→ condition→(if condition is met) action 1→(if condition is not met) action 2
|