O'Reilly logo

Microsoft® Windows® Workflow Foundation Step by Step by Kenn Scribner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using the While Activity

If you look back at the preceding section, you’ll note at least two things. First, you certainly did gain some experience using IfElse activities. And second, it took 31 separate steps to create the workflow process. There are some programmatical constructs that lend themselves nicely to if-then-else processing, but this particular application would be better suited to questions that were asked in a looping construct. And that’s what we’ll look at next. You’ll replace the workflow you just created with another that uses a while loop.

The WF While activity uses a similar approach to the IfElse activity when processing conditional expressions. It fires an event to request permission to continue with the loop, and it uses ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required