EMPTYGUID

Syntax

EMPTYGUID( )

Description

Returns an identifier containing all zeros.

Returns

An identifier of all zeros, for example: {00000000-0000-0000-0000-000000000000}.

Example

This formula tests to see if the MyEntity.AccountID contains an empty GUID, and if it does, replaces it with a newly generated GUID.

IF(MyEntity.accountid = EMPTYGUID(  ), NEWGUID(  ), MyEntity.accountid)

Returns: A new unique identifier.

Related Topics

Miscellaneous Functions

NEWGUID