Is there a way to run a customization when a user navigates away from a certain screen?
Summary:
We have an OIA customization that we want to run when a user navigates away from a certain screen. We've added a custom property ("screen") to the relevant screen. We can use the "onSubmit" and "onBack" functions to achieve this if the user clicks "Next" or "Back". So if the custom property was set to "Test", and they were on that screen and clicked "Next", with the sample code below, it would display "Next Test". However, the user can also use the navigation strip to move away from a page. We tried the "onNavigated" function, but that seems to trigger when the user navigates
0