Flow Editor - Redirect to page with conditional section

I have a browser goto action inside a submit button flow that goes to a page with conditional card based on a variable varMode. In basic operation the user clicks a link which changes the mode and the section is displayed.

I have attempted to repeat this functionality by having the varMode set right before going to the browser goto step. It’s not working the way I think it should.

Any insights are appreciated…

You can try setting a url param , and check the value of the url param then toggle the card base on that value

Thanks @Adetoyinbo1

The varMode wasn’t set as a global variable. Once I changed that the original script worked as expected.