From what I understand, you're using the OnReset event to set/pass a variable that helps you decide what page you want to Navigate to. If this variable is a string describing the page, you can do this:
Switch(VariableName,
"MainPage", Navigate('Main Page'),
"Settings", Navigate('Settings'),
"SecretPage", Navigate('Secret Page'),
Notify("ERROR: page name not recognized", NotificationType.Error) // default response if it doesn't match
)