<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Detect User Leaving the Browser tab</title><link>https://community.appian.com/discussions/f/process/28643/detect-user-leaving-the-browser-tab</link><description>Hello, 
 I would like to know if there&amp;#39;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</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Detect User Leaving the Browser tab</title><link>https://community.appian.com/thread/145470?ContentTypeID=1</link><pubDate>Wed, 19 Feb 2025 17:26:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:61529570-d00c-493d-877c-7d45a403335c</guid><dc:creator>Nelson Achelengwa</dc:creator><description>&lt;p&gt;Great ideas! Could you throw more light on point one? Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detect User Leaving the Browser tab</title><link>https://community.appian.com/thread/112629?ContentTypeID=1</link><pubDate>Fri, 12 May 2023 09:30:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b46f3392-d20a-4588-a679-393bf5ef48d5</guid><dc:creator>Witold Wozniak</dc:creator><description>&lt;p&gt;This is my current approach, actually - one thing you said that might help is for the timeout to go to the subprocess that unlocks tasks and reassigns the task back to the proper group.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detect User Leaving the Browser tab</title><link>https://community.appian.com/thread/112601?ContentTypeID=1</link><pubDate>Thu, 11 May 2023 16:48:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9bd0343a-7a6c-4b85-8d70-05168e68b41e</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="132000" url="~/discussions/f/process/28643/detect-user-leaving-the-browser-tab/112598#112598"]Set up &amp;quot;Tasks&amp;quot; to really be flagging variables in DB that cause user to be able to start new processes[/quote]
&lt;p&gt;I&amp;#39;ve done this approach before and I like it, though it requires dedication to the concept, and real agility with respect to DB and SAIL skills (IMHO).&lt;/p&gt;
[quote userid="132000" url="~/discussions/f/process/28643/detect-user-leaving-the-browser-tab/112598#112598"]Avoid quick tasks.&amp;nbsp; If the user leaves, they won&amp;#39;t ever be able to get back in, ever.[/quote]
&lt;p&gt;I almost always use Quick Tasks for the first node of a Related Action (if I didn&amp;#39;t want to use a Start Form anyway), and almost never for any other reasons, because of the things you say.&amp;nbsp; I typically set them up with long timeouts (long enough that they won&amp;#39;t be hurt by wandering off to the bathroom or a lunch break and coming back).&amp;nbsp; But this implies no extra &amp;quot;locking&amp;quot; has taken place, other than the task assignment.&amp;nbsp; Obviously that severely complicates this issue.&lt;/p&gt;
[quote userid="132000" url="~/discussions/f/process/28643/detect-user-leaving-the-browser-tab/112598#112598"]Maybe, just maybe, there&amp;#39;s a way to set up shorter timer that doesn&amp;#39;t kill abandoned process but reassigns task to the whole group of assignees again?[/quote]
&lt;p&gt;I believe I&amp;#39;ve done this before - the approach was somewhat more complicated than the usual setup but nothing really unreasonable.&amp;nbsp; If I can remember the particulars, I&amp;#39;ll edit this comment and include the methodology (it was an old project.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detect User Leaving the Browser tab</title><link>https://community.appian.com/thread/112598?ContentTypeID=1</link><pubDate>Thu, 11 May 2023 15:40:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0e2c89d5-797b-4262-8b99-60267157a18f</guid><dc:creator>davel001150</dc:creator><description>&lt;p&gt;Four&amp;nbsp;things you can do:&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp; Set up &amp;quot;Tasks&amp;quot; to really be flagging variables in DB that cause user to be able to start new processes, say from their &amp;quot;My Tasks&amp;quot; list in their landing page.&amp;nbsp; These start up PMs that get all the parameters they need from a DB query, and they start with a Start Form.&amp;nbsp; All the functionality of Tasks without the hanging processes.&amp;nbsp; No. 1 pick of most teams I&amp;#39;ve been on.&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp; Avoid quick tasks.&amp;nbsp; If the user leaves, they won&amp;#39;t ever be able to get back in, ever.&amp;nbsp; Then you have to wait for the timeout.&amp;nbsp; Without quick tasks, user will see the task in their list still not done and go back in and finish it.&lt;/p&gt;
&lt;p&gt;3.&amp;nbsp; Make the timeouts generous enough, but not too generous.&amp;nbsp; Shorten timeouts.&amp;nbsp; Make processes hang as little as possible.&lt;/p&gt;
&lt;p&gt;4. Maybe, just maybe, there&amp;#39;s a way to set up shorter timer that doesn&amp;#39;t kill abandoned process but reassigns task to the whole group of assignees again?&amp;nbsp; If the original person wants to go back and finish they can, but if not someone else can finish it?&amp;nbsp; IDK how to do that, if I&amp;#39;m honest, but I may look into that as an approach.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Detect User Leaving the Browser tab</title><link>https://community.appian.com/thread/112561?ContentTypeID=1</link><pubDate>Thu, 11 May 2023 08:51:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:999b1b12-947b-4a7b-9e38-636af6216b53</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;No. You cannot detect when the user runs away. This is why Appian uses the &amp;quot;Start Form&amp;quot; concept which starts the process only after submit. And a real task in a process should probably stay with the user.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>