Computer Science, asked by keshavdev9851, 1 year ago

What would you use to exit from a for each activity and continue the execution of the workflow?

Answers

Answered by mersalkeerthi46
0

To exemplify how to use the Break activity we are going to build upon the project created for the The For Each Activity. This new project writes only the first iteration of the loop and a few elements of the array to the Output panel.

In the Body of the For Each activity, under the Write Line, add a Break activity.

Under the For Each, add a new Write Line activity.

In the Text field, type arrFibonacciNumbers(0).ToString + " " + arrFibonacciNumbers(2).ToString + " " + arrFibonacciNumbers(4).ToString + " " + arrFibonacciNumbers(6).ToString + " " + arrFibonacciNumbers(8).ToString + " " + arrFibonacciNumbers(10).ToString + " ". This means that only the indicated elements of the array are going to be written to the Output panel.

Similar questions