<?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>input and output of a &amp;#39;user input task&amp;#39;</title><link>https://community.appian.com/discussions/f/process/35236/input-and-output-of-a-user-input-task</link><description>When the same process variable is updated by both the input and output of a &amp;#39;user input task&amp;#39; what will be the result? From what I have tested, the input takes precedence. As implemented in the attached photo, the initialization set in the output (setting</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: input and output of a 'user input task'</title><link>https://community.appian.com/thread/136906?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2024 14:36:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:29300e39-d193-4954-9065-c4c99c0e2128</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;The real answer to this is, of course, that conflicts like this should be avoided as much as possible (and luckily it&amp;#39;s possible to avoid it at approaching 100% if design is done carefully), because one can never be sure what the order of precedence will actually be without either testing it or asking around (and i&amp;#39;m not completely convinced it is guaranteed to happen in a particular order either).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: input and output of a 'user input task'</title><link>https://community.appian.com/thread/136893?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2024 08:48:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3ec6fae4-01ca-4260-85ba-d2b72c85e0fe</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;That is a very common configuration issue. Any output assignment that you configure will evaluate in a random order! Writing to the same process variable from INPUTS -&amp;gt; SaveInto and OUTPUTS calls for trouble.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: input and output of a 'user input task'</title><link>https://community.appian.com/thread/136890?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2024 08:07:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bedfd230-82ae-463f-a7ef-bce0926b3e8f</guid><dc:creator>Meme02</dc:creator><description>&lt;p&gt;Thanks for support&amp;nbsp;&lt;br /&gt;I need to leave the destination for saving inputs blank.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: input and output of a 'user input task'</title><link>https://community.appian.com/thread/136889?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2024 08:06:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b74f9936-4d58-4326-9131-54b00b63849a</guid><dc:creator>Meme02</dc:creator><description>&lt;p&gt;I thought the order was&lt;/p&gt;
&lt;p&gt;1) Value in input&lt;br /&gt;2) Save into in inputs&lt;br /&gt;3) outputs&lt;br /&gt;&lt;br /&gt;I need to leave the destination for saving inputs blank. Noted.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: input and output of a 'user input task'</title><link>https://community.appian.com/thread/136887?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2024 07:31:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:454d0417-0c05-4988-9da0-371a0acbcf94</guid><dc:creator>Meme02</dc:creator><description>&lt;p&gt;&amp;nbsp;&lt;a href="/members/jayaprakashr0001"&gt;JayaPrakash Ravipati&lt;/a&gt;&amp;nbsp;Ultimately, I expect &amp;#39;errMsg&amp;#39; to be NULL. If I do not set SaveInto for INPUT, I can achieve this, so it is probably a mistake in my implementation, but I asked the question because I wanted to know the root cause and the relationship between INPUT and OUTPUT.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: input and output of a 'user input task'</title><link>https://community.appian.com/thread/136886?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2024 07:25:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1a07abe0-6f25-4604-8238-a6c98ae00e80</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;&lt;a href="/members/nguyenb6532"&gt;Meme02&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For a user input task, the value you enter takes priority over any value set in the output.&lt;br /&gt; Your test confirms this - the input sets &amp;quot;errMsg&amp;quot; and the attempt to clear it in the output is ignored.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: input and output of a 'user input task'</title><link>https://community.appian.com/thread/136885?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2024 07:13:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fbf29be2-e79e-49c3-8fa2-302a0e766515</guid><dc:creator>Sri Ram Kaja</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="/members/nguyenb6532"&gt;Meme02&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;As far I know, The execution order will be&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1) Value in input&lt;/p&gt;
&lt;p&gt;2) outputs&lt;/p&gt;
&lt;p&gt;3) Save into in inputs&lt;/p&gt;
&lt;p&gt;So first the value are saved in activity class parameters and then outputs are executed and in the save into fields are executed.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In your example, whatever the value in form is saved into ac!errMsg first, then output is executed i.e, null is saved into pv!errMsg and then again ac!errMsg is saved in pv!errMsg&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: input and output of a 'user input task'</title><link>https://community.appian.com/thread/136883?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2024 07:05:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:289ecc65-31e8-4130-a788-e3d8fcd05a42</guid><dc:creator>JayaPrakash Ravipati</dc:creator><description>&lt;p&gt;can you provide some more info about the issue and what are you trying to achieve.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>