Hello everyone

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 Error Start elements.

The problem now is, on the second timeout (or other) error, Ivy throws an ivy:error:loop error, because it is the same sender and receiver element as also the same task.

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.

Any help will be appreciated.

Here's a picture of the process: diagramm

asked 10.04.2018 at 09:45

rhorber's gravatar image

accept rate: 0%

edited 11.04.2018 at 05:20

You can break the error loop by putting the webservice call into an own sub-process. And move the error handlers into this process.

Here is a sample: alt text

There is also a issue on our roadmap to make this error handler easier. But it is not yet done:
XIVY-2219 Allow to design looping processes with error handling


answered 11.04.2018 at 05:33

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
accept rate: 70%

edited 11.04.2018 at 07:37

It works flawlessly. Thank you very much!

(11.04.2018 at 10:51) rhorber rhorber's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 10.04.2018 at 09:45

Seen: 2,007 times

Last updated: 11.04.2018 at 10:51