When multiple events are required, it is usually more convenient to use the “Pulse” function. To use several events with the pulse function you need to introduce an auxiliary variable. Double click the variable and click on Formula and select ‘Use condition’. After that you can define your formula using the Pulse option.