Articles → UIPATH → Sort Data Table Activity In Uipath

Sort Data Table Activity In Uipath






Purpose





Example




  1. Drag and drop the "Build Data Table" activity and assign the datatable in a variable.
  2. Picture showing the Build Data Table activity for building the data table

    Click to Enlarge

  3. Drag and drop the "Sort Data Table" activity and set the following properties.
    1. Set the input data table as the one that we have created using the "Build Data Table" activity in the previous step.
    2. Set output to a new data table.
    3. Set the sorting column in the table.
    4. Set the sorting order.
    5. Picture showing the Sort Data Table activity in UiPath

      Click to Enlarge
  4. Finally, loop through all the rows of the new datatable. Here is the complete flow.
    Picture showing the complete flow of Sort Data Table activity

    Click to Enlarge


  5. Save and run the bot.

Output


Picture showing the output of Sort Data Table activity in UiPath

Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Wednesday, April 14, 2021

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250