<?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>What is difference between passing an input vs output data in a script task?</title><link>https://community.appian.com/discussions/f/data/34161/what-is-difference-between-passing-an-input-vs-output-data-in-a-script-task</link><description>I have a very basic question: What is difference between passing an input data vs output data in a script task? Or perhaps an example or a scenario where both can be used? Thanks in advance</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: What is difference between passing an input vs output data in a script task?</title><link>https://community.appian.com/thread/130151?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2024 08:14:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d40acee9-6a0a-4b23-a2bb-df0d22819bf7</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Apart from what has already been explained, please know that you cannot use any input variable to derive the value of another input, and the same goes for the output.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is difference between passing an input vs output data in a script task?</title><link>https://community.appian.com/thread/130148?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2024 07:50:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9f7ab074-f4fb-4655-a948-5b3f057591e5</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Adding to what &lt;a href="/members/mathieud0001"&gt;Mathieu Drouin&lt;/a&gt;&amp;nbsp; already explained, it is important to understand that all assignments in the input are evaluated in no specific order, but &lt;strong&gt;before&lt;/strong&gt; any assignments in the output. Assignments in the output also evaluate in no specific order.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is difference between passing an input vs output data in a script task?</title><link>https://community.appian.com/thread/130141?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2024 00:21:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7e269192-cd47-4501-ac19-da85900cbfca</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;Not a huge difference.&lt;/p&gt;
&lt;p&gt;I use it mostly to&amp;nbsp;reduce the amount of&amp;nbsp;script tasks in a process, more specifically when I want to store 2 PVs but need the output of 1 PV in order to calculate the 2nd PV. In the Outputs tab, you can access the data from the input by using the ac! notation (Activity Class Parameter).&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/23.4/Process_and_Report_Data.html#activity-class-parameters"&gt;docs.appian.com/.../Process_and_Report_Data.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/16/pastedimage1708993041434v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/16/pastedimage1708993055203v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Hope this helps!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>