Vlocity Omniscript reverts back to initial step on reloading?
Problem: As per the current version of OS, when the user refreshes the current page (step in OS terms), it takes the user back to the initial step, without saving the changes.
Solution: To avoid the above problem statement, that when a user accidentally or knowingly tries to refresh the browser page for OS, it’s better to show a warning prompt to the user, so that they can make calculated decisions.
How to Enable the Warning: Promote warning can be enabled as follows:
- Go to Vlocity Omniscript designer.
- Open the desired OS.
- Navigate to Script configuration.
- Check “Enable Unload Warning.”
With this setting in place, when the user tries to refresh the Omniscript page, it shows a user warning.