Member Junction
    Preparing search index...
    ON_CHANGE_SCOPE_SCRIPT: string = ...

    Turns the record that changed into the action's Scope parameter.

    Evaluated per-invocation as an EntityActionParam of ValueType Script, because the whole point of an on-change trigger is that the record differs every time — a Static value would pin the binding to whichever record happened to be open when it was configured.

    ToConcatenatedString() and not ToString(): RecordRef.RecordID is documented as the primary key "serialized to a composite-key-safe string", which is that format. ToString() is a display format and would silently fail to resolve a composite key.