The Sandbox Thread

3 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

'For' Windows Workflow Activity

Back to Forum: The Sandbox
  • User profile image
    staceyw

    Here is a simple For loop Activity.  This is easier to use then the standard "While" activity when you just want a fixed loop of For.Count.  For.Count is a bindable property.

  • User profile image
    openarrow

    Looks cool! You could also have it use three properties: Start, Stop, and Step to determine what to start the for loop at (say 1, instead of 0), what to stop it at and how much to increment the counter each time. Then it would pretty much emulate a for loop in code.

  • User profile image
    staceyw

    openarrow wrote:
    Looks cool! You could also have it use three properties: Start, Stop, and Step to determine what to start the for loop at (say 1, instead of 0), what to stop it at and how much to increment the counter each time. Then it would pretty much emulate a for loop in code.


    Funny you say that.  I actually did that first and had it working.  However after looking at more, it started to run in contrast to the goal of a no-brainer loop.  However, if that would be helpful, I could post that version also.  Thanks for comments.

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.