<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged main-acti</title>
<link>https://overflow.efficy.io/?qa=tag/main-acti</link>
<description>Powered by Question2Answer</description>
<item>
<title>Acti_Acti - Cannot change main linked activity</title>
<link>https://overflow.efficy.io/?qa=1454/actiacti-cannot-change-main-linked-activity</link>
<description>&lt;p&gt;Hi All,&lt;/p&gt;

&lt;p&gt;After activating the possibility to link actions amongst themselves, it seems to lead to an unexpected behaviour when trying to change the main linked actions.&lt;/p&gt;

&lt;p&gt;When we create an action and we add links to other actions, the first action that had been linked is naturally set to be the main one.&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=12329680983945306741&quot; alt=&quot;Actions linked but no changes&quot;&gt;&lt;br&gt;
However, changing the main linked action and saving leads to clearing the previously main link (so it indeed becomes a &lt;em&gt;secondary&lt;/em&gt; action) but &lt;strong&gt;not&lt;/strong&gt; setting the expected link to main, resulting in no more &lt;em&gt;main&lt;/em&gt; link.&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=1312583361223967517&quot; alt=&quot;Changing main link to Test task 2&quot;&gt;&lt;br&gt;
But deleting any linked action results in setting one of the remaining ones to &lt;em&gt;main&lt;/em&gt; link.&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=4280153868478679036&quot; alt=&quot;Delete one action leads to restoring a main link&quot;&gt;&lt;/p&gt;

&lt;p&gt;Inspecting the generated code of the webpage does not show anything wrong. IDs for the different labels/buttons are correct and relevant. There is nothing in the custom files that is playing with main linked actions either.&lt;/p&gt;

&lt;p&gt;To me, it sounds like clearing the field &lt;em&gt;MAIN&lt;/em&gt; is done correctly but setting it to 1 does not seem to work.&lt;br&gt;
As to why deleting one random linked action leads to restoring a main link, I assume there is some internal procedure triggered when deleting a link that checks if a &lt;em&gt;main&lt;/em&gt; link still exists and if not, takes the first linked action and sets its &lt;em&gt;MAIN&lt;/em&gt; field to 1. &lt;/p&gt;

&lt;p&gt;I've checked &lt;a rel=&quot;nofollow&quot; href=&quot;http://overflow.efficy.com/?qa=1006/acti_acti-activation-on-efficy-2014&quot;&gt;this link&lt;/a&gt; and everything matches what's said in the answers of that question, yet the issue is still there.&lt;/p&gt;

&lt;p&gt;Any ideas on where that issue could be coming from?&lt;/p&gt;

&lt;p&gt;Thank you very much,&lt;br&gt;
Best regards,&lt;/p&gt;

&lt;p&gt;Laurent&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=1454/actiacti-cannot-change-main-linked-activity</guid>
<pubDate>Thu, 24 Mar 2016 10:50:42 +0000</pubDate>
</item>
</channel>
</rss>