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.
Thanks.

Here's a picture of the process: diagramm

asked 10.04.2018 at 09:45

rhorber's gravatar image

rhorber
(suspended)
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

link

answered 11.04.2018 at 05:33

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
9.4k31958
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

Follow this question

By Email:

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

By RSS:

Answers

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

Tags:

×48
×17

Asked: 10.04.2018 at 09:45

Seen: 2,058 times

Last updated: 11.04.2018 at 10:51