Diagnostics.ActivityId() returns a UUID (or GUID) that is unique for the currently-running evaluation. An expression that is evaluated with Expression.Evaluate() is considered to be executed in the same evaluation as its parent. Thus, in the following example guid, same_guid and evaluated_guid all evaluate to the same value: [
guid = Diagnostics.ActivityId() ,
same_guid = Diagnostics.ActivityId() ,
evaluated_guid = Expression.Evaluate("Diagnostics.ActivityId()", #shared)
]