How to change CurrentRow to the nextRow and return to the activity starting point when ForEachRow finds an exception

Hello, I built the process using ForEachRow, but I needed to deal with exceptions, so I asked about the relevant information.

If certain elements exist in ForEachRow activity, I would like to change CurrentRow to the nextRow and get it back to the starting point of ForEachRow, is there such a way?

The ForEachRow activities I implemented are as follows.

Now, we’re going to put the part that reads the specific element here

If there is “Download Customes Standard”, I would like to move CurrentRow to the next, return it to Assign, and let it proceed again.

And if it’s “표준 csv 다운로드”, it’s normal, so I want it to proceed normally without any exceptions.

image

That’s all, and I’d appreciate it if you could find a way.

@sssim4567

Use a if condition to check if it’s “표준 csv 다운로드” or not. If false, use Continue activity. This will skip further processing and start next iteration.

Add your logic to process in true part.

Thanks,
Ashok :slightly_smiling_face:

@sssim4567

Use a check app state activity…and on found side give all your steps or keep all your steps that are needed to be performed when found after check app state and on not found side use a continue activity

If using element exists then the output of element exists can be used in if condition and on founf and not found sides repeat same as above

Cheers

It works!!! thanks !!!

1 Like

@sssim4567

Glad I’m able to help you. Kindly mark my answer as solution so it will be helpful to other community members as well.

Thanks,
Ashok :slightly_smiling_face:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.