Detect User Leaving the Browser tab

Certified Associate Developer

Hello,

I would like to know if there's a way to detect the User abandoning a session.

The issue is that there are User Input Tasks that I lock to specific users when they accept them.

I have a problem with the case where the User exits the form not by clicking the "EXIT" button, but by just closing the browser tab, which leaves the process running until timeout and the task remains locked.

Is there a way, other than the timer, to determine whether the User had abandoned a session on a form?

Thank you.

  Discussion posts and replies are publicly visible

Parents
  • +1
    Certified Lead Developer

    Four things you can do:

    1.  Set up "Tasks" to really be flagging variables in DB that cause user to be able to start new processes, say from their "My Tasks" list in their landing page.  These start up PMs that get all the parameters they need from a DB query, and they start with a Start Form.  All the functionality of Tasks without the hanging processes.  No. 1 pick of most teams I've been on.

    2.  Avoid quick tasks.  If the user leaves, they won't ever be able to get back in, ever.  Then you have to wait for the timeout.  Without quick tasks, user will see the task in their list still not done and go back in and finish it.

    3.  Make the timeouts generous enough, but not too generous.  Shorten timeouts.  Make processes hang as little as possible.

    4. Maybe, just maybe, there's a way to set up shorter timer that doesn't kill abandoned process but reassigns task to the whole group of assignees again?  If the original person wants to go back and finish they can, but if not someone else can finish it?  IDK how to do that, if I'm honest, but I may look into that as an approach.

  • 0
    Certified Lead Developer
    in reply to davel001150

    Great ideas! Could you throw more light on point one? Thanks

Reply Children
No Data