Question3Replies518Views PraveenD7990 Member since 2017 4 posts Bank of America Posted: 3 years agoLast activity: 3 years 2 months ago Closed Solved How to reset Index in Forloop objectHi,I am working on Pega robotics and wanted to reset forloop index to 0. Can someone point me how can I do it ?Once the loop is completed and then for second loop run, I wanted index to be set as 0. Please suggest. Robotic Process Automation ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question. Posted: 3 years agogrona PEGA replied to PraveenD7990Set an int variable to 0 and attach it to the index for the forloop, then iterate the integer with each loop. When the loop finishes, reset the variable to 0. Posted: 3 years agoMitchell PEGA replied to PraveenD7990A ForLoop will automatically reset to it's initial value once the loop has completed. If you are coming back to the loop later in your automations... it will begin again at the initial value. Accepted Solution Posted: 3 years agoPraveenD7990 Bank of America replied to PraveenD7990I was talking in table context. When table is interrogated in Siebel you need to do next record set, where we need index to be 0. I used rematch method which reset back to 0. Thanks for the reply.