Skip to Content
Author's profile photo Former Member

How To use Loop While

Loop While: Loop while is a combination of IF ELSE /CASE WITH LOOP

in below example i will show how to use LOOP WHILE in Workflow

  • open TCODE SWDD .
  • Select Workflow container and create a container element
  • work2.PNGwork3.PNG

work1.PNG

  • Right Click on Undefined step and choose Loop while

work4.PNG

  • give name to Step and make outcome for different value of counter

work5.PNG

  • Now insert step increment counter in check1 to increase then value of counter.

counter.PNG

  • now insert send mail  step in check1

sendmail.PNG

  • follow above two step for check2 also then activate then workflow and execute the workflow.

execute.PNG

  • set counter value as 1 and click on execute then check log

log.PNG

  • so in this way we can perform different task for different values of Counter as per requirment.

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.