Setting Runtime Variable

Hi, I am trying to set a new variable at the entry condition. However, the condition is never executed for some reason. I would like to store the SPOT value in a variable and check the value during the exit condition. Is this the correct method?