<?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>Looping back to failed script task calling integration in process models</title><link>https://community.appian.com/discussions/f/integrations/20402/looping-back-to-failed-script-task-calling-integration-in-process-models</link><description>We have a script task that calls a rule within which we make a few calls to some integrations and then process the returned data and save into a PV and then the flow continue further. now the problem is the API catering us with the data is not a stable</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Looping back to failed script task calling integration in process models</title><link>https://community.appian.com/thread/79579?ContentTypeID=1</link><pubDate>Tue, 16 Feb 2021 14:01:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1ae18615-7bae-40af-b340-bc1622439564</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;How are you validating the data in the array in your script task? Would you mind posting a screenshot / expression?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Looping back to failed script task calling integration in process models</title><link>https://community.appian.com/thread/79576?ContentTypeID=1</link><pubDate>Tue, 16 Feb 2021 06:30:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e4939863-3d33-46b4-97a0-b69adef32853</guid><dc:creator>Bhushan Chavan</dc:creator><description>&lt;p&gt; &lt;a href="/members/peter.lewis"&gt;Peter Lewis&lt;/a&gt;&lt;br /&gt;Sure, &lt;br /&gt;1: Appian Version: 20.4&lt;br /&gt;2: the process is activity chained and generates an excel file. the data is validated via API and is an array so it needs to be looped for every entry in the CDT using it in script task helped reduce number of nodes and looping within process model.&lt;br /&gt;3. yes. basically it gets paused by exception and has to be restarted manually.&lt;br /&gt;&lt;br /&gt;I agree that Call Integration smart service usage makes the most sense however the reason stated in point 2 is why I had to approach it in this pattern.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Looping back to failed script task calling integration in process models</title><link>https://community.appian.com/thread/79569?ContentTypeID=1</link><pubDate>Mon, 15 Feb 2021 17:25:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:981daaf4-616c-402c-9d13-17a592dee1d7</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;I agree -&amp;nbsp; I usually prefer to use the Call Integration smart service because it has a native output for saving the success / failure of the integration. Then, you can save the results of the success / failure and potentially loop back around to retry it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Looping back to failed script task calling integration in process models</title><link>https://community.appian.com/thread/79556?ContentTypeID=1</link><pubDate>Mon, 15 Feb 2021 14:53:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:855ecc45-473a-4ca5-b42e-1eae429507c2</guid><dc:creator>jraaquino</dc:creator><description>&lt;p&gt;Few questions just to get context on your issue:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;What Appian version are you using?&lt;/li&gt;
&lt;li&gt;Is there a reason why you are using script task instead of Call Integration Smart Service?&lt;/li&gt;
&lt;li&gt;When you say script task fails, do you mean it becomes Paused by exception?&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Looping back to failed script task calling integration in process models</title><link>https://community.appian.com/thread/79553?ContentTypeID=1</link><pubDate>Mon, 15 Feb 2021 13:47:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a9580d2b-2d34-4081-8c35-e35f949c0590</guid><dc:creator>gayathris876948</dc:creator><description>&lt;p&gt;&lt;a href="/w/the-appian-playbook/211/prevent-and-recover-from-common-process-problems"&gt;https://community.appian.com/w/the-appian-playbook/211/prevent-and-recover-from-common-process-problems&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This link may be useful.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>