Redirecting
To redirect, callsetVariable("url", String url) with the new URL you want to redirect to. Remember to resend GET/POST variables if needed.
The actual redirect happens after the entire script has run, not when calling
setVariable().Creating a screen chooser
- Sign in to SuperOffice Service.
- From the hamburger menu, select System Design and then select ScreenChoosers.
- Select the screen you want to redirect from.
- Enter a description (what and why) and set it to enabled.
- Write your script and click OK.