Why does my automation resets an infinite number of times?

Hello this is my workflow:


I start with making a list, I have a list of three elements: Raporty1, Raporty2 and Raporty3

Then I use for each, to iterate through all elements of the list and do something depending of what is the name of the item in the list as in my Flow Switch.

The problem is that when I turn on the automation it keeps opening and closing the web browser all the time. Like infinite number of times (when I have only three elements on the list) + nothing in these boxes is happening:

image

Where did I do a logical error?

@anon40731888

What is being done in flow decision?

We see it is linked back …may be that is turning into a infinite loop…please chekc the same…

cheers

flow decision = error_occured, and I have it as a catch with this activity:

image

This is the try catch second screenshot I attached

@anon40731888

So whenever you ahve an error are you trying to retry?

can you include a log message in catch and check…may be everytime it is throwing error

also include a log message on your true side to know if that is running multiple times

cheers


If I do this it also don’t fix the problem,

@anon40731888

The isssue is not about not having false…but true side being executed always…are you setting the true to false at the end of try ?

cheers

I don’t understand.

In 2: In catch I have set variable value error occured to true, and if error happens (execption) this happens then by flow decision the automation starts over and it changes error occured to false, and it goes through try and if no error then it should just iterate through all elements with no problems

@anon40731888

Inside your catch and before the assign of false please add two log messages to check if it is looping in that area only

cheers


No messages are logged so looks like there is no error so no “catch” is activated, must be something else ehh

you know what, doesn’t matter I will handle this different way is fine :slight_smile:

1 Like