Hi there 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. 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. Why does Ivy react like that? Have we done something wrong? asked 11.12.2019 at 09:41 Adrian Imfeld |
You can prevent the error with a work-around: 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. 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. answered 16.12.2019 at 05:13 Reguel Werme... ♦♦ My WebService calls are already in explicit callable subs. If I get you right... my Inscribe Error Boundary Event on the Sub Call Element is the problem. I should move even that in a callable sub or dealing with the exceptions in my existent callable process? Anyway, we are looking forward to the API you have planned.
(16.12.2019 at 10:19)
Adrian Imfeld
Yes, if you move the exception handling into the callable process: next to the ws-call that causes the issue, then you can brake the loop. To be precise, ws-call activities act as loop breaker for errors that are handled within them.
(16.12.2019 at 11:29)
Reguel Werme... ♦♦
|
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 11.12.2019 at 09:41
Seen: 1,506 times
Last updated: 16.12.2019 at 11:29