Thanks @krandoing for sharing, this was helpful.
However, I am facing an issue in navigating to different pages based on the variable. Assume, there is a boolean variable & if it’s true navigate to certain page else some other page.
Can you please help me our here ?