Question3Replies535Views×Close popoverPraveen Dhadoti (PraveenD7990) Bank of America Vice President Bank of America US View Profile PraveenD7990 Member since 2017 4 posts Bank of America Posted: August 11, 2017Last activity: September 11, 2017Posted: 11 Aug 2017 15:59 EDTLast activity: 11 Sep 2017 14:14 EDT 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 agoPosted: 14 Aug 2017 19:20 EDT×Close popoverAndrew Grondin (grona) PEGA GCS Solutions Engineer I Pegasystems Inc. US View Profilegrona 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 agoPosted: 14 Aug 2017 21:43 EDT×Close popoverMitchell Vega (Mitchell) PEGA Software Engineer Pegasystems Inc. US View ProfileMitchell 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 agoPosted: 25 Aug 2017 11:19 EDT×Close popoverPraveen Dhadoti (PraveenD7990) Bank of America Vice President Bank of America US View ProfilePraveenD7990 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.