Evaluate the when condition before entering this stage's agent, if any. This setting is ignored if beforeOptions or beforeInput is active.