timer inside a condition of a state machine ?

thank you i think your suggestion will work well but i hoped if there is more efficient way to do that to add some randomization to the transition delay time .