Skip to content

scanOrgPlatformEventSubscriptions

scanOrgPlatformEventSubscriptions(connection): Promise<PlatformEventSubscriptionOrgScanResult>

Defined in: packages/simply-aep-core/src/at4dxPlatformEventSubscriptionOrgScan.ts:88

Query the target org for AT4DX PlatformEvents_Subscription__mdt records — an ordinary queryable Custom Metadata Type, plain REST (connection.autoFetchQuery), no Tooling API, no chunking (row counts are inherently small).

AepConnection

The org connection to query against.

Promise<PlatformEventSubscriptionOrgScanResult>

The discovered records, and whether the Custom Metadata Type exists in this org at all.