Default

This Flow Script tutorial explains how to use the Default function with syntax and examples.

Description

The Default function returns an empty record based on a type value (see Type Definitions).

Syntax

‌The syntax for the Default function is:

Default(typeValue)

Parameters

typeValue - the table the empty record is to be based on.

Returns

‌The Default function returns a record.

Example

Let's look at some Default function examples and explore how to use the Default function.‌

Default($PurchaseOrders__RowType)
Result: an empty record matching the type of the PurchaseOrders table variable

Last updated