How do i loop this senario?

How do i get the bot to not skip the “ADAS INTERN” when its after “79004”

The first FlowDecision is “NavArtiklar.Contains(“ADAS”)”
The Second one is NavArtiklar = “79004”

1 Like

You can add more than one condition in the decision -

NavArtiklar.Contains("ADAS") And NavArtiklar == "79004"

Regards,
Karthik Byggari

3 Likes

Hmm…Your looping looks fine
May I know the issue if any your were facing
Cheers @Doktorgud

The problem is that if the ADAS is under 79004 it skips the ADAS sequence and goes on without doing what it should. But if ADAS is berfore 79004 it does what i should.

2 Likes

Fine
As you say keep the ADAS as first condition
And in the second one place as
ADAD OR 79004
So that both will be considered with. OR operator
And even if any one alone passes the condition it will loop again

Cheers @Doktorgud

1 Like

Right, and how does it know when its done if i do it that way? Feels like im missing something :slight_smile:

We can check with Log message activity by placing them at appropriate places so that it goes in right way we can see the progress as a comment in the output panel
Cheers @Doktorgud

This didnt work, it got stuck on the first “ADAS” and tried to repet the flow and crashed. :frowning:

What i want it to do is.
We have this Artikel called ADAS, and i need to place a resours on it after a timetable.

So first book ADAS

Then 79004

But when ADAS comes in the bottom

So i tried the tips you gave me but sadly no because it tried to book ADAS over and over again.
Maybe try Rowselector somehow?

i got this suggestion, but im not sure how to get this to work and what is inside the tryCatch? (hmm)

Check what is there inside the try catch block.

Regards,
Karthik Byggari

3 Likes

Well the “loop” is WORKING, yay, but when i get inside the “TryCatch” it gets stuck if i cant find “ADAS” if it finds ADAS all is fine and it keeps going, if it dont find ADAS it just repeats TRYCATCH.

image