Create transient data entities

  1. Open Innovation Studio in developer mode.
  2. From the Main Menu (), select Data Model Explorer.
  3. Click the Insert button () at the top right corner of the page.
  4. In the Entity Type field, select Transient Data.
  5. Enter a Name for the transient entity. This is a unique name used to identify the entity internally by the system.
  6. Enter a Display Name for the transient entity. This is the name that will be displayed in the end-user interface.
  7. Click Save and reload () at the top right corner of the page.
  8. In the Data Model section, add the entity's data attributes (for details, see Attributes).
  9. If you want the transient data entity to appear if form driven flows as a grid of multiple records (not a single record instance), use the Data View section to define a view that includes the attributes you wish to display. For details see Data Views.
    NOTE
    Make sure that the view is configured as the default view of your transient data entity, by checking the IsDefault checkbox.

  10. Click Save and reload () at the top right corner of the page.

Define the automation script for load

The automation script for load is triggered when a form driven flow with a data extension linked to the transient data entity is displayed. This is useful, for instance, if you use the transient data entity to fetch data from an external source and display it in the form driven flow.

To add an automation script for load:

  1. Open the transient data entity in the editor.
  2. Use the Automation Script for Load field to create the automation script.
    • The automation script must be on-demand (see Creating On-demand Server Automation Scripts for details).
    • The output structure must be set to your transient data entity (see Customizing the Output Structure for details). If you will use the transient data entity to show a grid of records (not a single record instance) when displayed in a form driven flow, make sure that the Output Parameter Type is set as Collection. Otherwise, choose Single Instance.

Examples

Define the automation script for save

The automation script for save is triggered when a form driven flow with a data extension linked to the transient data entity is saved. This is useful, for instance, if you use the transient data entity to save data displayed it in the form driven flow to an external destination.

To add an automation script for save:

  1. Open the transient data entity in the editor.
  2. Use the Automation Script for Save field to create the automation script.