When viewing ticket details, app.deactivated() isn't triggered upon navigating back to "All Unresolved Tickets" or to other pages, it's only triggered when clicking "next ticket". Is there a lifecycle or event that is triggered upon navigating away from the ticket details?
Hi Harout,
The 'app.deactivated' event will be triggered only when navigating between tickets because it is used to refresh the app with the current ticket details. The app won't be available to listen to any event upon moving away from ticket details page.
Could you please explain the use case? If possible we can suggest you workaround to achieve it.
Thanks,
Janani V.
Hi Janani,
The use case would be having app.deactivated() trigger closing a window that was opened when app.activated() was triggered. Currently the newly opened window closes on app.deactivated() as expected when clicking to the next ticket, however it will stay open when the user navigates to another part of the site, like "all unresolved tickets".
Hello Harout,
We don't currently handle this use case. Could you give us a bit more detail on what the app is trying to do? We can see if there is a feasible workaround.
Sign in to the Community
Social Login
Login for Freshworks Employees Login with LinkedInEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.