Redirect a page based on set value from server connect

Hi,
Is there a way I can auto redirect a user based on a Server action which output a user status?
When user status is 1 the page will auto redirect to a specified page.

I have had a look at some similar posts. If we set value with a condition, how can I pick it up from the App side and redirect.

Here is my server side:

Thank you.

If you tick the output box on your set value action, then you can dynamically set a browser goto action on the client side. On the server connect side you can have multiple set value actions with the same name and just control which gets set within conditions.

thanks @mebeingken. How do you dynamically set the goto browser on the App side? I don’t see the option to select the set value from the server connect to set a condition?

If I understand correctly, use the flow function (icon to the right of the “action” orange triangle icon).
There, you can use conditions based of your set value and build a complex flow of actions.

1 Like

Thanks @Fred_K I will give it a go! :slight_smile:

The goto should have a lightning bolt which signifies you can click it and dynamically bond it’s value to the set value from the server.

The set value does not have a condition, the set value action would sit inside a condition on the server.

What I am suggesting is that you set a value based on conditions in the server and then there are no conditions to be dealt with in the client.

Or use a flow as suggested by @Fred_K. Either will work here, I just favor logic on the server when possible.

2 Likes

Thanks @mebeingken. I will think about your suggestions. I see the value as well in maintaining server side logic and keeping it off client side where possible.