<?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>Are custom outputs of a script task executed in sequence?</title><link>https://community.appian.com/discussions/f/best-practices/37837/are-custom-outputs-of-a-script-task-executed-in-sequence</link><description>Is it advisable to do the following on a task script node? It hasn&amp;#39;t given me any problems so far. 
 Suppose I have two variables pv!variable1 and pv!variable 2 
 In my first custom output I have 1+1 saved in my pv!variable1 and in my second output I</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Are custom outputs of a script task executed in sequence?</title><link>https://community.appian.com/thread/142367?ContentTypeID=1</link><pubDate>Thu, 31 Oct 2024 00:57:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d090490f-467a-453f-9c97-3ca2dbd8a5bd</guid><dc:creator>dylanarreola</dc:creator><description>&lt;p&gt;Thanks for the comment!! it helps me a lot to know that and to affirm this topic.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Are custom outputs of a script task executed in sequence?</title><link>https://community.appian.com/thread/142250?ContentTypeID=1</link><pubDate>Mon, 28 Oct 2024 20:15:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7d52a550-dd45-4928-a415-a41798bcbe4f</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Inputs before outputs, but for multiple inputs/outputs, there is no order you could rely on.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Are custom outputs of a script task executed in sequence?</title><link>https://community.appian.com/thread/142247?ContentTypeID=1</link><pubDate>Mon, 28 Oct 2024 18:56:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:55a2ca6f-8ff7-43ec-b20d-5547aa57ed71</guid><dc:creator>dylanarreola</dc:creator><description>&lt;p&gt;Hi, &lt;a href="/members/devaprasanthm"&gt;Devaprasanth Murugesan&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Just what I needed, it is clear to me that there is no guarantee on order. I will read more the documentation you shared with me.&lt;/p&gt;
&lt;p&gt;Thank you so much!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Are custom outputs of a script task executed in sequence?</title><link>https://community.appian.com/thread/142246?ContentTypeID=1</link><pubDate>Mon, 28 Oct 2024 18:51:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9d07a73b-a267-4bef-ba41-cdedbe253d0d</guid><dc:creator>Devaprasanth Murugesan</dc:creator><description>&lt;p&gt;Hi &amp;nbsp;&lt;br /&gt;&lt;br /&gt;Please refer the note on this page. Only for Input we have the details about the order in execution.&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/20/pastedimage1730141482742v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://docs.appian.com/suite/help/24.3/Process_Node_and_Smart_Service_Properties.html"&gt;https://docs.appian.com/suite/help/24.3/Process_Node_and_Smart_Service_Properties.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Are custom outputs of a script task executed in sequence?</title><link>https://community.appian.com/thread/142245?ContentTypeID=1</link><pubDate>Mon, 28 Oct 2024 18:45:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e360a497-8c32-4a3b-9b55-9a01402164d9</guid><dc:creator>dylanarreola</dc:creator><description>&lt;p&gt;I just couldn&amp;#39;t find any documentation on this topic, thanks for the recommendation. I usually do it that way, but sometimes when reducing the number of script task nodes I find myself in this situation, where the same pv is called in several outputs.&lt;/p&gt;
&lt;p&gt;Thank you very much for your comment and suggestion!&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Are custom outputs of a script task executed in sequence?</title><link>https://community.appian.com/thread/142244?ContentTypeID=1</link><pubDate>Mon, 28 Oct 2024 18:34:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1ba07ba1-1e2f-4321-9071-9cbde370c6b5</guid><dc:creator>Shanmathi Ponnusamy</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;In Appian documentation AFAIK, there is nowhere mentioned that the Order Of the Output/input will be in the given order. So for this use case, I would suggest to use, input node to save 1+1 and use the ac! and add 5 and save in pv!variable2 and If you want pv!variable1 to be used anywhere in the process later, then save the value 1+1 into the pv!variable1 in inputs tab&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>