<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
Workflows Tables: Sorting by Default (auto) Columns
Workflows
Overview

When viewing the data in a table in the Workflows Console, there are default columns labeled with "(auto)" (such as "rowID (auto)" and "updated (auto)"). When trying to sort by those columns, the rows do not seem to sort. 

Applies To
  • Workflows Tables
Cause

This is expected behavior. Those default columns are not sortable columns like the columns that are manually added to the table.

Solution

While keeping in mind that tables are a convenient way to store data that can be read from or written to a flow and are not meant for long-term storage, the below can be a method to have the table capable of sorting when it is (approximately) updated:

  1. In the table, add a New Column.
    • For example:
      • Name: updatedDate
      • Field Type: date.
  2. For flow(s) Create Row or Update Row, insert a Date & Time - Now card before the Create/Update Row card, and drag the date into the updatedDate field.
    • In the example below, a Create Row card was used.
  1. Now, when going into the table, the manually added date column can be sorted.

NOTE: If the table is manually edited, the updatedDate field does not auto-update. Either it would have to be manually updated, or ensured that the rows are updated by flows that update the field as shown.

Create Row card


Related References

Loading
Workflows Tables: Sorting by Default (auto) Columns