OCLOperators newGuid
This page was created by Stephanie on 2025-01-08. Last edited by 62.169.16.147 on 2026-09-12.
This is an EAL expression available on Guid Type attributes to create a new Guid object and store it in the Guid attribute.
NOTE: Guid attribute should not be null to use this expression.
Example[edit source]
self.Guid.newGuidor
self.Guid:=Guid.NewGuidExample 2[edit source]
Using SysUser package as an example.
SysUser.allInstances->first.Guid.newGuid
This will create a new Guid for the first record.
