<?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>Refreshing submit button</title><link>https://community.appian.com/discussions/f/user-interface/35018/refreshing-submit-button</link><description>Hi, 
 
 I have several DB tasks shown in a to-do list, where it is possible to reassign these tasks to other users. I need to ensure, just before submitting any task, to check if meanwhile a user has been filling the form, anyone has reassigned that task</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Refreshing submit button</title><link>https://community.appian.com/thread/135764?ContentTypeID=1</link><pubDate>Thu, 23 May 2024 13:22:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4e14c1ed-03c2-48b9-95ee-3483503450cf</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;Yeah I think it&amp;#39;s a valid debate, and something we&amp;#39;ve discussed internally as well. My preference generally matches Stefan&amp;#39;s - in most cases, I think it is easier to use out-of-the-box tasks rather than recreating tasks through databases. However, if you have particularly long-lived processes or long lived tasks, it may make sense to utilize database tasks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Refreshing submit button</title><link>https://community.appian.com/thread/135560?ContentTypeID=1</link><pubDate>Sat, 18 May 2024 14:32:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4926c101-c715-4093-839e-ea6d38347579</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;A failsafe would be to add a manual check in a process node immediately after the form is submitted, and if the assignment had changed, route the user to an advisory task and don&amp;#39;t write any of their changes to the DB/etc.&amp;nbsp; That is in the off chance that reassignment occurs 30 seconds or less before the user was otherwise about to submit their task (possible, but probably not a very high risk).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Refreshing submit button</title><link>https://community.appian.com/thread/135557?ContentTypeID=1</link><pubDate>Sat, 18 May 2024 09:55:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:01a520e6-fa79-41f4-99a3-8dadd4788054</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I know about this conversation, and am part of it myself. I am pushing for process tasks, with DB tasks only as an exception.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="/members/peter.lewis"&gt;Peter Lewis&lt;/a&gt;&amp;nbsp;, maybe you can pick this up and discuss it internally.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Refreshing submit button</title><link>https://community.appian.com/thread/135556?ContentTypeID=1</link><pubDate>Sat, 18 May 2024 09:41:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3e62582d-8f8c-42d1-b552-f91b36d2cbfe</guid><dc:creator>ab2370</dc:creator><description>&lt;p&gt;the Appian consulting team always recommends us to use DB task to avoid &amp;quot;memory overload&amp;quot;...this is really confuse for me because I saw several time in this forum several leads devs recommend using &amp;quot;normal Appian tasks&amp;quot; instead of DB tasks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Refreshing submit button</title><link>https://community.appian.com/thread/135555?ContentTypeID=1</link><pubDate>Sat, 18 May 2024 09:36:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a3719445-5da4-499e-b4ec-a653334b90aa</guid><dc:creator>ab2370</dc:creator><description>&lt;p&gt;You are right, all these solutions are imperfect. Refreshing only every 30 secs imply that if the user complete the form in &amp;gt; 30 secs, the variable won&amp;acute;t be refreshed. I will try to create a case in MyAppian requesting a native solution for that scenario.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your response&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Refreshing submit button</title><link>https://community.appian.com/thread/135554?ContentTypeID=1</link><pubDate>Sat, 18 May 2024 09:36:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:896eadf1-7b2e-44fa-9701-15f622615b82</guid><dc:creator>Stefan Helzle</dc:creator><description>[quote userid="280663" url="~/discussions/f/user-interface/35018/refreshing-submit-button/135553"]I don&amp;#39;t understand why Appian doesn&amp;#39;t&amp;nbsp;out-of-the-box allow usto do something like this, without using weird workarounds.[/quote]
&lt;p&gt;DB tasks are not a natural concept in Appian, and so, design decisions do not incorporate this use case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Refreshing submit button</title><link>https://community.appian.com/thread/135553?ContentTypeID=1</link><pubDate>Sat, 18 May 2024 09:33:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c3751ea2-4c97-4c22-8b58-4b34af7ccb53</guid><dc:creator>ab2370</dc:creator><description>&lt;p&gt;I think about this approach, it looks like the most reasonable way to go.&amp;nbsp;I don&amp;#39;t understand why Appian doesn&amp;#39;t&amp;nbsp;out-of-the-box allow usto do something like this, without using weird workarounds.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your response&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Refreshing submit button</title><link>https://community.appian.com/thread/135542?ContentTypeID=1</link><pubDate>Fri, 17 May 2024 20:09:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:034ddb0f-017d-4672-9c35-7edbb81abc6a</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;You could always set up a refresh variable (at the shortest interval of ~30 seconds) to periodically recheck the assignee value from the DB, in such a way that if it changes, the form and/or its buttons are disabled (preferably while advising the user that it&amp;#39;s no longer under their ownership and that they can click away).&lt;/p&gt;
&lt;p&gt;Please note that this implementation is a bit outside of Appian&amp;#39;s usual assignment system, so one way or another you&amp;#39;ll probably have to settle for an imperfect work-around.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Refreshing submit button</title><link>https://community.appian.com/thread/135540?ContentTypeID=1</link><pubDate>Fri, 17 May 2024 19:49:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a0321c34-abf3-42b7-a1cc-705371651392</guid><dc:creator>Konduru Chaitanya</dc:creator><description>&lt;p&gt;My approach would be to get rid of the start form and the first node would be a XOR to check the assignee value if null, update the task details as assigned and then this would be visible as the task is assigned and the user will be aware. You would need a additional node here to update the assignee value which would be redirected from the UIT to this script by an exception flow. So this will allow user some time to complete the task and when unattended or not submitted it would automatically be updated to a null value for the assignee.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;If the assignee value is not null you would have another node a simple interface to show that the task is locked.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You will have to write down the assignee value before showing the form to the user, so that the task cannot be parallelly picked up y someone else.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Lets wait for the other ideas.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>