sAction doesn't exist, and foundTab only exists in happy-flow. Please rename sAction to action and set foundTab to missing value by default so that at it exists :)