Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in RPA by (5.3k points)
edited by

I'm working with BluePrism and I have to loop though collections, sometimes there is +1000 rows.

For example :

I loop though a collection and search for the word "hello", if this word is found at row 10 I want to stop looping the rest 990 rows. And right after that do another loop for another word in the same collection and so on.

Is this possible ? Currently I'm looping til the end of the collection, It works fine but takes a lot of time.

Thank you in advance and sorry for my bad english.

1 Answer

0 votes
by (9.5k points)

You really should not be using loops to find information in collections.

use filter action

your loop condition is perfect

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...