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



- Right Click on Undefined step and choose Loop while

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

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

- now insert send mail step in check1

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

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

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