<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Prevent/by-pass ivy:error:loop</title><link>https://answers.axonivy.com/questions/3181/prevent-by-pass-ivy-error-loop</link><description>&lt;p&gt;Hello everyone&lt;/p&gt;
&lt;p&gt;We have a process, where we parse a CSV file. For each line a web service is called (in a loop). Our error handling catches timeout and other errors with &lt;code&gt;Error Start&lt;/code&gt; elements.&lt;/p&gt;
&lt;p&gt;The problem now is, on the second timeout (or other) error, Ivy throws an &lt;code&gt;ivy:error:loop&lt;/code&gt; error, because it is the same sender and receiver element as also the same task.&lt;/p&gt;
&lt;p&gt;What are possible solutions for this problem? We can't send all lines at once, because the web service is third party, and also it is crucial to catch every error to handle it.&lt;/p&gt;
&lt;p&gt;Any help will be appreciated.&lt;br&gt;
Thanks.&lt;/p&gt;
&lt;p&gt;Here's a picture of the process:
&lt;img alt="diagramm" src="https://answers.axonivy.com/upfiles/diagramm.png"&gt;&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/3181/prevent-by-pass-ivy-error-loop" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 11 Apr 2018 10:51:03 -0400</lastBuildDate><item><title>Comment by rhorber on Reguel Wermelinger's answer</title><link>https://answers.axonivy.com/questions/3181/prevent-by-pass-ivy-error-loop#3187</link><description>&lt;p&gt;It works flawlessly. Thank you very much!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rhorber</dc:creator><pubDate>Wed, 11 Apr 2018 10:51:03 -0400</pubDate><guid>https://answers.axonivy.com/questions/3181/prevent-by-pass-ivy-error-loop#3187</guid></item><item><title>Answer by Reguel Wermelinger</title><link>https://answers.axonivy.com/questions/3181/prevent-by-pass-ivy-error-loop/3184</link><description>&lt;p&gt;You can break the error loop by putting the webservice call into an own sub-process. And move the error handlers into this process.&lt;/p&gt;
&lt;p&gt;Here is a sample:
&lt;img alt="alt text" src="https://answers.axonivy.com/upfiles/isolateErrorHandlingInSubProcess.png"&gt;&lt;/p&gt;
&lt;p&gt;There is also a issue on our roadmap to make this error handler easier. But it is not yet done:&lt;br&gt;
&lt;em&gt;&lt;a href="https://jira.axonivy.com/jira/browse/XIVY-2219"&gt;XIVY-2219&lt;/a&gt; Allow to design looping processes with error handling&lt;/em&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Wed, 11 Apr 2018 05:33:15 -0400</pubDate><guid>https://answers.axonivy.com/questions/3181/prevent-by-pass-ivy-error-loop/3184</guid></item></channel></rss>