- Categories:
System functions (System Control)
SYSTEM$MIGRATE_ LEGACY_ EVENT_ ROUTING_ CONFIGURATION¶
Migrates the legacy event account configuration by creating a new event routing table with corresponding rules. The function doesn’t activate the new table.
The resulting table has one rule for each region with an active event account. Each rule name uses the format
<region_name>_RULE, and the rule’s destination account is the event account configured for that region.
Syntax¶
Arguments¶
table_nameSpecifies the name of the event routing table to create. The table name must be unique within the organization.
Returns¶
Returns a message indicating whether the operation succeeded or failed.
Usage notes¶
The migration fails if the legacy event-sharing configuration includes an event account for a region outside the
PUBLIC region group. For government or sovereign regions, continue using the legacy event-sharing configuration.
Access control requirements¶
- Only organization administrators can execute this SQL function.
Examples¶
Migrate the legacy event routing configuration to a new table named my_table:
After the function creates the table, activate it for application listings with ALTER ORGANIZATION SET EVENT ROUTING TABLE: