Ajay Mahendra Mishra on LinkedIn: Sequence uipath endless loop (2024)

Ajay Mahendra Mishra

RPA Developer at Feat Systems | Secured 3rd Position in April 2024 Uipath Forum Community

  • Report this post

Solution of the Day: For Each Row Endless Loop#Day2Introduction:A developer aimed to retrieve data from an Excel sheet using the Read Range activity and then iterate through the DataTable with a “For Each Row” activity. The plan was to log the data from each row, but instead, he encountered a looping issue within the Excel Application Scope. The workflow unexpectedly entered an endless loop, logging the same data multiple times.Solution Overview:When using loop activities, it's beneficial to utilize properties such as Max Iteration, Condition, or Index Output to control and manage the iteration process effectively.Solution:To address the issue, the suggested solution involves using the Max Iteration property in the For Each Row in DataTable activity. By setting this property, you can limit the number of iterations to the row count of the DataTable, thus preventing the endless loop.Step-by-Step Explanation:1) Read Excel Data: Use the Excel Application Scope then Read Range activity to read data from the Excel file into a DataTable.2) For Each Row Setup: Drag the For Each Row in DataTable activity from the activity panel and pass the input DataTable.3) Max Iteration Property: In the properties panel of the For Each Row activity, set the Max Iteration property to dt_Input.RowCount. This ensures the loop will iterate only as many times as there are rows in the DataTable.Forum Topic Link:For more details refer to the forum topic link: https://lnkd.in/db8J-9JmHave you implemented similar solutions? Share your experiences and tips in the comments below!You can connect or follow me for Daily Automation Learnings!Happy Automation!UiPath UiPath Community#UiPath #Automation #UiPathCommunity #RPATips #SolutionOfTheDay #AjayMishra

Sequence uipath endless loop forum.uipath.com

15

Like Comment

To view or add a comment, sign in

More Relevant Posts

  • Ajay Mahendra Mishra

    RPA Developer at Feat Systems | Secured 3rd Position in April 2024 Uipath Forum Community

    • Report this post

    Solution of the Day: Filter Excel Columns Using LINQ#Day1Introduction:A developer needed to filter Excel data based on two columns: Part Type and Revit System Status. Specifically, he wanted the rows that have "System Pipe Fittings", "Pipe Fittings", or "Pipe Accessories" in the Part Type column and rows that have "Completed" in the Revit System Status column.Solution Overview:When dealing with multiple conditions in LINQ queries, it's crucial to prioritize OR and AND conditions correctly by using parentheses. This ensures that the logical grouping of conditions is maintained, and the query returns the intended results. Additionally, using the "Equals" method instead of the "Contains" method can help avoid unintended matches, especially when filtering for exact matches.Solution:Initially, the developer used the "Contains" method for filtering the second column, which caused incorrect results. This was because the word "Completed" is also found in the value "In Completed". The suggested solution is to use the "Equals" method after applying the "Trim" method to ensure precise matching.Here’s how you can implement this solution using LINQ to filter a DataTable:LinQ:OutDT.AsEnumerable().Where(Function(row) (row.Field(Of String)("Part Type").Contains("System Pipe Fittings") Or row.Field(Of String)("Part Type").Contains("Pipe Fittings") Or row.Field(Of String)("Part Type").Contains("Pipe Accessories")) And (row.Field(Of String)("Revit System Status").Trim.Equals("Completed"))).CopyToDataTable()Step-by-Step Explanation:1) Input Datatable: A DataTable variable with two columns: "Part Type" and "Revit System Status", named OutDT, which has all the rows.2) LINQ Query:Part Type Condition: The query checks if the Part Type is one of "System Pipe Fittings", "Pipe Fittings", or "Pipe Accessories".Revit System Status Condition: The query ensures that the Revit System Status is exactly "Completed" by using Trim and Equals.Note: Here, in this scenario, it was confirmed that the "Completed" word will be in the same case, For case insensitivity, you could use ToLower.Equals("completed").3) Parentheses Usage: Parentheses are used around the OR conditions for Part Type to ensure they are evaluated together before applying the AND condition with Revit System Status. This ensures correct logical grouping and prioritization.4) Output: At last, ".CopyToDatatable" is used to store the filtered data as an output data table, showing only the rows that meet both conditions.Forum Topic Link: https://lnkd.in/dUJqucAaFor the input Excel data, refer to the forum topic link.Have you implemented similar solutions? Share your experiences and tips in the comments below!Happy Automation!UiPath UiPath Community#UiPath #Automation #UiPathCommunity #RPATips #SolutionOfTheDay #SolutionOfTheDay1 #AjayMishra

    Filter multiple column using Linq forum.uipath.com

    11

    Like Comment

    To view or add a comment, sign in

  • RPA Developer at Feat Systems | Secured 3rd Position in April 2024 Uipath Forum Community

    • Report this post

    🎉 Exciting News! 🎉I am thrilled to share that I secured the 3rd place in the UiPath forum community for the month of April 2024! 🥉I want to extend my heartfelt gratitude to everyone who has supported and encouraged me along this journey. Your belief in me has truly been the driving force behind my accomplishments. Special thanks to Dheerandra Vishwakarma, and Jawagar Raja.I would also like to express my sincere appreciation to the UiPath & UiPath Community for providing such a vibrant platform for collaboration and learning. It has been an honor to be part of this incredible community.My Profile Link:https://lnkd.in/dpwumhDvForum Reward List Link:https://lnkd.in/dnWEStFyThank you once again to everyone who has been a part of this journey with me. Let's continue to strive for excellence and make a difference in the world of automation! 💼✨#UiPath #Community #Automation #AchievementUnlocked #Gratitude

    • Ajay Mahendra Mishra on LinkedIn: Sequence uipath endless loop (10)

    28

    8 Comments

    Like Comment

    To view or add a comment, sign in

  • Ajay Mahendra Mishra

    RPA Developer at Feat Systems | Secured 3rd Position in April 2024 Uipath Forum Community

    • Report this post

    Celebrating the completion of UiPath's Solution Architecture ILT! 🌟 Four days packed with invaluable insights, refining my skills in architecting top-notch automation solutions. I'm deeply grateful to my company, Feat Systems, for providing me with an opportunity to grow and excel in the field of RPA. Thanks to Himanshu Joshi from the UiPath team for being an exceptional host throughout the session. Ready and excited to drive innovation and efficiency in RPA! #UiPath #SolutionArchitecture #RPA #ILT

    • Ajay Mahendra Mishra on LinkedIn: Sequence uipath endless loop (15)

    26

    4 Comments

    Like Comment

    To view or add a comment, sign in

  • Ajay Mahendra Mishra

    RPA Developer at Feat Systems | Secured 3rd Position in April 2024 Uipath Forum Community

    • Report this post

    Thrilled to share that I've successfully wrapped up the UiPath Academy Developer Professional Training Certification! 🌟 Deeply thankful for the thorough learning journey, embracing both Classic and Modern methodologies. Major gratitude to UiPath, Mukesh Kala, Rakesh Kumar Behera & Nisarg Kadam - Makes it Happen for their enriching video content. Now, geared up for the next phase in my automation voyage! 🚀 #UiPath #RPA #Automation #uipathdeveloper #uipathacademy #developerprofessionaltraining

    UiPath Academy Automation Developer Professional Training • Ajay Mishra • UiPath Credentials | UiPath credentials.uipath.com

    24

    Like Comment

    To view or add a comment, sign in

  • Ajay Mahendra Mishra

    RPA Developer at Feat Systems | Secured 3rd Position in April 2024 Uipath Forum Community

    • Report this post

    Excited to announce that I have successfully completed the UiPath Academy Developer Associate Training Certification! 🚀 Grateful for the comprehensive learning experience, covering both Classic and Modern approaches. Huge thanks to UiPath, Mukesh Kala, and Rakesh Kumar Behera for their knowledge-packed and informative videos. Ready for the next step in my automation journey! #UiPath #RPA #Automation #uipathdeveloper #uipathacademy #developerassociatetraining

    UiPath Academy Automation Developer Associate Training • Ajay Mishra • UiPath Credentials | UiPath credentials.uipath.com

    35

    3 Comments

    Like Comment

    To view or add a comment, sign in

  • Ajay Mahendra Mishra

    RPA Developer at Feat Systems | Secured 3rd Position in April 2024 Uipath Forum Community

    • Report this post

    Thank you Feat Systems for giving me the opportunity to embark on this Automation journey! Constantly learning, developing, and evolving are the things that keep me professionally alive and passionate.Thank you UiPath for the valuable, interesting, and well-structured courses! Looking forward to the next course ADVANCED RPA DEVELOPER Foundation!! #learninganddevelopment #rpa #automation #certification #newskills #uipath #opportunity #rpadeveloper #expediagroup #developing #learning #interesting #evolving #thankyou

    • Ajay Mahendra Mishra on LinkedIn: Sequence uipath endless loop (29)

    32

    10 Comments

    Like Comment

    To view or add a comment, sign in

  • Ajay Mahendra Mishra

    RPA Developer at Feat Systems | Secured 3rd Position in April 2024 Uipath Forum Community

    • Report this post

    I’m happy to share that I’m starting a new position as Jr. RPA Developer at Feat Systems!Looking Forward to new and exciting opportunities at Feat SystemsThank you pranali shinde, Chirag Bhayani, and Bhautik Lunagariya for seamless Onboarding!

    This content isn’t available here

    Access this content and more in the LinkedIn app

    50

    5 Comments

    Like Comment

    To view or add a comment, sign in

Ajay Mahendra Mishra on LinkedIn: Sequence uipath endless loop (37)

Ajay Mahendra Mishra on LinkedIn: Sequence uipath endless loop (38)

251 followers

  • 8 Posts

View Profile

Follow

Explore topics

  • Sales
  • Marketing
  • Business Administration
  • HR Management
  • Content Management
  • Engineering
  • Soft Skills
  • See All
Ajay Mahendra Mishra on LinkedIn: Sequence uipath endless loop (2024)

References

Top Articles
Latest Posts
Article information

Author: Tuan Roob DDS

Last Updated:

Views: 6168

Rating: 4.1 / 5 (62 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Tuan Roob DDS

Birthday: 1999-11-20

Address: Suite 592 642 Pfannerstill Island, South Keila, LA 74970-3076

Phone: +9617721773649

Job: Marketing Producer

Hobby: Skydiving, Flag Football, Knitting, Running, Lego building, Hunting, Juggling

Introduction: My name is Tuan Roob DDS, I am a friendly, good, energetic, faithful, fantastic, gentle, enchanting person who loves writing and wants to share my knowledge and understanding with you.