Setting TTL on a Data Model / Table

Setting TTL on a Data Model / Table

In designing solid applications, it is best practice to consider the data you’ll be storing in Fuuz, and determine with your business users how long that data should be retained. In Fuuz you can do this by establishing appropriate TTL’s on your data models using ‘indicies’.

 Instructions

  1. Navigate to the Schema Designer

  2. Locate the Data Model you wish to apply TTL to - Drag that out to the canvas and select it by clicking on it to highlight and expose the configuration panel to the right side of the designer canvas.

  3. Scroll the panel down until you see “Indicies” - expand this panel

  4. Click the 

     option to add a custom index

  5. Within the custom index, define the date field you wish to use as your base line

  6. Set the TTL value (in seconds)

    1. This is the amount of time, from the date / time in the date field you’ve selected to effect the TTL

  7. Save and Deploy your changes

You can not set TTL on the pre-system defined indicies, however, you an add your own custom indicies (even for the same fields as the system defined inidices) and then set your TTL.

  1. Navigate to Schema Designer

  2. Select the Data Model and drag to the canvas

  3. Select the Data Model - expose the configuration panel - scroll to Indicies

  4. Click 

Then:

  1. Set the Index name

  2. Set the TTL (seconds) - example is 1 year

  3. Set the field to index on - example is [“createdAt”]

  4. Save/Deploy your updates

    • Related Articles

    • Data Model (Schema) Design Standards

      Article Type: Standard / Reference Audience: Solution Architects, Application Designers, Developers Module: Fuuz Platform - Data Model Designer Applies to Versions: 2025.12+ 1. Overview Data Model (Schema) Design Standards define the mandatory ...
    • Data Flow Nodes Reference

      Fuuz Data Flow Nodes - Complete Reference Article Type: Reference Audience: Developers, App Admins, Solution Architects Module: Data Flows / Data Ops Applies to Versions: All 1. Overview The Fuuz Industrial Operations Platform provides a ...
    • Master Data Table Screen Design Standard

      Master Data Table Screen Design Standard Article Type: Standard / Reference Audience: Solution Architects, Application Designers, Developers Module: Fuuz Platform - Application Designer Applies to Versions: 2025.12+ Template Reference: ...
    • Historical Data Table Screen Design Standard

      Article Type: Standard / Reference Audience: Solution Architects, Application Designers, Developers Module: Fuuz Platform - Application Designer Applies to Versions: 2025.12+ Template Reference: Table_Screen_Design_Template_-_History_0_0_1.json 1. ...
    • Setup Data Table Screen Design Standard

      Article Type: Standard / Reference Audience: Solution Architects, Application Designers, Developers Module: Fuuz Platform - Application Designer Applies to Versions: 2025.12+ Template Reference: Table_Screen_Design_Template_-_Setup_0_0_1.json 1. ...