<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: multiple exceptions lead to ivy:error:loop</title><link>https://answers.axonivy.com/questions/4269/multiple-exceptions-lead-to-ivy-error-loop</link><description>&lt;p&gt;Hi there&lt;/p&gt;
&lt;p&gt;We get an "ivy:error:loop" exception by Ivy in a loop. In this loop, we send some ws calls in a Callable Sub. Possibles exceptions are not handled in the Callable Process, but are caught by a "Inscribe Error Boundary Event" on the Callable Sub Element. The loop-exception occurs when we receive an exception (ivy:error:webservice:exception) in this Callable Sub twice.&lt;/p&gt;
&lt;p&gt;From our point of view one task could easily receive more than one identical exception during its execution. Ivy should not send a loop-exception in this case.&lt;/p&gt;
&lt;p&gt;Why does Ivy react like that? Have we done something wrong?&lt;br&gt;
Is there a solution or workaround for our problem?&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/4269/multiple-exceptions-lead-to-ivy-error-loop" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 16 Dec 2019 05:13:54 -0500</lastBuildDate><item><title>Answer by Reguel Wermelinger</title><link>https://answers.axonivy.com/questions/4269/multiple-exceptions-lead-to-ivy-error-loop/4282</link><description>&lt;p&gt;You can prevent the error with a work-around: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://answers.axonivy.com/questions/3181/prevent-by-pass-ivy-error-loop"&gt;https://answers.axonivy.com/questions/3181/prevent-by-pass-ivy-error-loop&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;There is also an issue (XIVY-2219) that asks for API to explicitly reset errors by custom conditions. It's on the roadmap for the next leading edge version - though with low priority and therefore with no guarantee to be included in the next release.&lt;/p&gt;
&lt;p&gt;I'd prefer a custom API which allows the user to apply error reset behaviour for his custom need over a fixed scenario. Actually, Ignoring multiple errors of the same type might be a good idea for your situation, but totally unacceptable for other customers. So, if we change it, then with API that allows less more flexibility rather than a general new strategy for all. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Mon, 16 Dec 2019 05:13:54 -0500</pubDate><guid>https://answers.axonivy.com/questions/4269/multiple-exceptions-lead-to-ivy-error-loop/4282</guid></item></channel></rss>