<?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>a!startProcessLink() redirecting back to last clicked PM</title><link>https://community.appian.com/discussions/f/user-interface/13666/a-startprocesslink-redirecting-back-to-last-clicked-pm</link><description>I am using a!startProcessLink() to create four different actions from a main page. Main page is part of a process model which contains start node &amp;gt;&amp;gt; main Page (where all four start process links are configured) &amp;gt;&amp;gt; end node (configured to terminate). </description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: a!startProcessLink() redirecting back to last clicked PM</title><link>https://community.appian.com/thread/62069?ContentTypeID=1</link><pubDate>Tue, 30 Oct 2018 12:50:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:236491c3-ab3f-4664-995c-c3f2d0af7910</guid><dc:creator>Josh</dc:creator><description>Here was our use case: &lt;br /&gt;
&lt;br /&gt;
If you have an edit related action for a record and that action needs to be locked to one instance, you may have a splash screen saying something to the effect of &amp;quot;someone is already editing this record.&amp;quot; If that person already owned the original edit task, you could have a link to the task instead of telling the user to navigate to his or her tasks tab. If a user navigates to the task this way, completes the task, Appian will redirect him or her back to the related action URL, restarting the related action. Very confusing for the end user!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!startProcessLink() redirecting back to last clicked PM</title><link>https://community.appian.com/thread/62055?ContentTypeID=1</link><pubDate>Tue, 30 Oct 2018 03:37:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:79d78915-5b88-4335-8cf0-bf722f9fa472</guid><dc:creator>ajayp</dc:creator><description>Thanks Mike Schmitt (mschmitt)  &amp;amp; Josh  for your suggestions. At this moment i am proceeding with large button layout ( so that look and feel would be same for end user). This way i can achieve my goal to go back and forth from main page to all different pages.  I&amp;#39;ll also look for Appian support response on mentioned behavior.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!startProcessLink() redirecting back to last clicked PM</title><link>https://community.appian.com/thread/62049?ContentTypeID=1</link><pubDate>Mon, 29 Oct 2018 20:45:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:728d1bdf-ad5b-4d24-bb80-1310406e4c1c</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;So far my main use case for Start Process Links has been in Task Reports, since it allows me to essentially create purely database-backed &amp;quot;tasks&amp;quot; that aren&amp;#39;t actually tasks and don&amp;#39;t rely on running processes / clunky task reports / group assignments to pull back. Luckily there&amp;#39;s no such issue when using them from task reports, and I assume there is similarly no issue when using them in regular reports or on Record Dashboard forms. I don&amp;#39;t think I&amp;#39;ve used any inside an actual running process yet, though I understand that there are probably valid use cases for this.&lt;/p&gt;
&lt;p&gt;By any chance have you tried using Submit Links in your parent process task? Using submit links will not only cause your form to submit and step forward to a chained subprocess / etc, but also you can use the link itself to store a specific value into a rule input (essentially mimicing how a regular button works), which could be used to select the desired subprocess (since you mentioned maybe needing to use radio buttons for this).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!startProcessLink() redirecting back to last clicked PM</title><link>https://community.appian.com/thread/62047?ContentTypeID=1</link><pubDate>Mon, 29 Oct 2018 20:33:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2d9aaf0b-0b43-46ae-8793-f5a2bbc54cad</guid><dc:creator>ajayp</dc:creator><description>Thats correct mike. If you use task tab it will behave like an individual task however when you go back and forth on main interface it will show you &amp;quot;The task has already been submitted.&amp;quot; message since the previous task already been submitted. &lt;br /&gt;
&lt;br /&gt;
I am thinking to avoid using startProcessLink function in using old fashion radio buttons to call desire subprocess. Will give a last try to open a support case.&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
Ajay&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!startProcessLink() redirecting back to last clicked PM</title><link>https://community.appian.com/thread/62046?ContentTypeID=1</link><pubDate>Mon, 29 Oct 2018 20:16:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:10306539-8197-4b9b-96cc-381548255574</guid><dc:creator>Josh</dc:creator><description>I agree with you fully, Mike. The behavior is weird and has caused me to rework certain designs to avoid the issue alltogether.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!startProcessLink() redirecting back to last clicked PM</title><link>https://community.appian.com/thread/62045?ContentTypeID=1</link><pubDate>Mon, 29 Oct 2018 20:11:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6206516e-59ef-4feb-8897-13bd602fcc97</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;I&amp;#39;ve been able to build a small app where I can easily reproduce this behavior.&amp;nbsp; I think the problem errs a bit further into &amp;quot;unexpected behavior&amp;quot; territory than what you described,&amp;nbsp;&lt;a href="/members/joshl"&gt;Josh&lt;/a&gt;&amp;nbsp;- in the case of this behavior, I can see no justification (accidental or otherwise) that the &amp;quot;exit&amp;quot; button click from the main parent &amp;quot;action&amp;quot; form should invoke the related action again instead of dumping the user back to the Actions tab as expected.&lt;/p&gt;
&lt;p&gt;One note - I believe I&amp;#39;ve confirmed that the behavior &lt;strong&gt;only&lt;/strong&gt; happens when viewing the task from the Actions tab; if, for example, I leave the task open and click over to &lt;em&gt;Tasks&lt;/em&gt; and open it from there, the Exit button behaves as normal, regardless of whether I click into and out of either of the start process links first.&lt;/p&gt;
&lt;p&gt;Please see the attached app (contains all precedents and nothing overly burdensome).&lt;/p&gt;
&lt;p&gt;&lt;a href="https://community.appian.com/cfs-file/__key/communityserver-discussions-components-files/13/Test-Activity-Chaining-Demo.zip"&gt;community.appian.com/.../Test-Activity-Chaining-Demo.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!startProcessLink() redirecting back to last clicked PM</title><link>https://community.appian.com/thread/62042?ContentTypeID=1</link><pubDate>Mon, 29 Oct 2018 19:03:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:afb29d02-2053-4b54-80f6-d74039408a24</guid><dc:creator>Josh</dc:creator><description>I&amp;#39;ve encountered this behavior when using process task links on a form started via a related action. It is annoying, but the basic idea is that Appian retains the context stack for a user and returns the user to the previous context. I&amp;#39;ve copied the exact phrasing below. It isn&amp;#39;t documented that well and can be confusing in situations like these. The product use case they gave me was #934.&lt;br /&gt;
&lt;br /&gt;
When a task is completed, the user is redirected to the URL where the user initiated the task from.  In most cases, this is a report on a record view or site page.  If they complete the task from the task tab, it returns to the task tab URL.  In this defined customer use case, they are being redirected back to the the related action.  The reason you are seeing this invoke a new related action is that currently both related actions and actions are invoked or kicked off when navigated to directly via the URL.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!startProcessLink() redirecting back to last clicked PM</title><link>https://community.appian.com/thread/62041?ContentTypeID=1</link><pubDate>Mon, 29 Oct 2018 18:31:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6e6cf34b-682b-4ff5-81b5-cc50c5035099</guid><dc:creator>Mike Schmitt</dc:creator><description>Are you able to reproduce this behavior either in a secondary environment or at least a secondary unconnected app which you could then either share an export or at least screenshot(s) demonstrating the issue occurring?&lt;br /&gt;
If this continues and you are able to confirm it isn&amp;#39;t a bug in your code etc, you might look into opening a support case for the issue and finding a way to demonstrate it to the support personnel.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!startProcessLink() redirecting back to last clicked PM</title><link>https://community.appian.com/thread/62039?ContentTypeID=1</link><pubDate>Mon, 29 Oct 2018 18:29:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:76f808af-5a25-4424-b7db-736abc77efab</guid><dc:creator>ajayp</dc:creator><description>Sorry, its restricted environment so i cant upload anything but i can provide all the details required to understand issue.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!startProcessLink() redirecting back to last clicked PM</title><link>https://community.appian.com/thread/62038?ContentTypeID=1</link><pubDate>Mon, 29 Oct 2018 18:26:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4e118320-f3c7-4147-b7e0-90d0287a35e1</guid><dc:creator>ajayp</dc:creator><description>Thanks for reply  , Yes i have debut the process which looks completely normal flow. It shows me main process as active instance until i click on the exit button. As soon as i click on exit button the older instance of main process mark as complete and new instance of PM &amp;quot;B&amp;quot; created. Once i click on back button from &amp;quot;B&amp;quot; another new instance of main PMcreated and &amp;quot;B&amp;quot; completes.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!startProcessLink() redirecting back to last clicked PM</title><link>https://community.appian.com/thread/62037?ContentTypeID=1</link><pubDate>Mon, 29 Oct 2018 18:20:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c97ea591-9879-4ba8-a59a-c9d021b24f6a</guid><dc:creator>Mike Schmitt</dc:creator><description>That definitely does sound weird - have you done any debugging steps yet to verify that there isn&amp;#39;t something accidental happening?  Also would you be willing/able to upload a small screenshot of your process model?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>