- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2023 05:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2023 06:36 AM
hi @Abhishek Dighe ,
Hope you are doing great.
Start by creating "iterationCount" = 0.
Next, add a condition action to check if the iterationCount is less than the desired number of iterations for the loop. For example, "iterationCount < 5".
Inside the condition, you can add the activities or actions that you want to repeat within the loop. This can include any ServiceNow actions or custom actions specific to your requirements.
After the activities within the loop, increment the iterationCount variable by 1. This can be done using an assignment action or a script action.
iterationCount = iterationCount + 1;
- connect the end of the loop back to the condition action, creating a loop structure
Regards,
Riya Verma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2023 06:36 AM
hi @Abhishek Dighe ,
Hope you are doing great.
Start by creating "iterationCount" = 0.
Next, add a condition action to check if the iterationCount is less than the desired number of iterations for the loop. For example, "iterationCount < 5".
Inside the condition, you can add the activities or actions that you want to repeat within the loop. This can include any ServiceNow actions or custom actions specific to your requirements.
After the activities within the loop, increment the iterationCount variable by 1. This can be done using an assignment action or a script action.
iterationCount = iterationCount + 1;
- connect the end of the loop back to the condition action, creating a loop structure
Regards,
Riya Verma