<?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>Prevent &amp;quot;Save Draft&amp;quot; button from closing task on mobile</title><link>https://community.appian.com/discussions/f/general/23961/prevent-save-draft-button-from-closing-task-on-mobile</link><description>I have an app for site surveying equipment that produces a task which is going to be completed primarily on mobile, often offline. Since the task could take multiple days to complete I added the &amp;#39;Save Draft&amp;#39; button to the interface from the process model</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Prevent "Save Draft" button from closing task on mobile</title><link>https://community.appian.com/thread/92224?ContentTypeID=1</link><pubDate>Mon, 14 Mar 2022 14:56:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f9579ad8-df60-4249-af2a-ba35bdd37656</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;In the past I&amp;#39;ve found that I have to resort to that method more often than not.&amp;nbsp; Unfortunately since we have absolutely no control over what happens when the OOTB button is pressed, implementing your own is the only way to have real control over things like in-process behavior (particularly as it allows the data to be populated to the process instance, and when needed, saved to the DB).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The main caveat to this method is I assume the OOTB button is optimized to also work off-line, while the process loop behavior probably would not do so whatsoever.&amp;nbsp; Luckily so far I haven&amp;#39;t had to deal with enabling offline mobile stuff, so that hasn&amp;#39;t been an issue so far.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Prevent "Save Draft" button from closing task on mobile</title><link>https://community.appian.com/thread/92223?ContentTypeID=1</link><pubDate>Mon, 14 Mar 2022 14:53:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f4e4ad0b-6718-4225-b5dc-8cb8c75765dd</guid><dc:creator>Jack Ferguson</dc:creator><description>&lt;p&gt;Alright, thank you. Worst case scenario, I can just create a button myself with the loop you described earlier.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Prevent "Save Draft" button from closing task on mobile</title><link>https://community.appian.com/thread/92222?ContentTypeID=1</link><pubDate>Mon, 14 Mar 2022 14:50:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e7c16dcf-424a-4b8e-8d94-7a6d5cbe444c</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Ah, sorry for misunderstanding then - I&amp;#39;m personally unfamiliar with the expected behavior of the OOTB &amp;quot;save draft&amp;quot; functionality when used in a mobile app.&amp;nbsp; If the behavior seems inconsistent in a way that you believe represents an error, you might raise the issue with Appian via a support case (but I assume some others here might have more insight as well, once more people see this thread).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Prevent "Save Draft" button from closing task on mobile</title><link>https://community.appian.com/thread/92221?ContentTypeID=1</link><pubDate>Mon, 14 Mar 2022 14:47:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4d0a9746-df51-431e-9e97-ab5d193c6f62</guid><dc:creator>Jack Ferguson</dc:creator><description>&lt;p&gt;Mike,&lt;/p&gt;
&lt;p&gt;I am currently just using the built-in save as draft functionality that Appian provides by checking the box shown in the attached image. So it is not an actual button that I added to the interface and configured, and I have not implemented any loop in the process model for this. I have used this in previous applications and it works fine, but this is my first attempt to use it on a mobile app.&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/11/pastedimage1647269018899v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Prevent "Save Draft" button from closing task on mobile</title><link>https://community.appian.com/thread/92220?ContentTypeID=1</link><pubDate>Mon, 14 Mar 2022 14:24:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d6bb1b4c-03b7-4cb7-b688-81788fa62ec3</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;If your &amp;quot;save draft&amp;quot; button is configured to submit the form then loop back to the same task with activity chaining (such that the user thinks they haven&amp;#39;t actually left the form) - then the behavior should work essentially the same on mobile (IIRC) as it does in a browser.&amp;nbsp; There could be something else going wrong causing the task to close for the user, but troubleshooting this would require a lot more detail.&amp;nbsp; When you test it from mobile, but monitoring it from the process instance monitor, is the subsequent task instance reached instantaneously and with no errors?&amp;nbsp; Is chaining consistently enabled through all intermediary steps?&amp;nbsp; Can you switch back and forth between browser and mobile and the behavior always follows that it works as expected in the browser and not in mobile, even within the same process instance?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>