You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"metadataCleanupCompleted": "The Omnistudio metadata table cleanup process is complete. Total records cleaned: %s",
255
255
"metadataCleanupConsentMessage": "By proceeding further, you hereby consent to clean up the Omnistudio metadata tables. Proceeding with the cleanup process will permanently delete all records from OmniUiCardConfig, OmniScriptConfig, OmniIntegrationProcConfig, and OmniDataTransformConfig tables. Do you want to proceed? [y/n]",
@@ -260,7 +260,7 @@
260
260
"omniStudioSettingsMetadataEnabled": "The Omnistudio Metadata setting is enabled with standard data model.",
261
261
"timeoutEnablingOmniStudioSettingsMetadata": "Timeout while checking the metadata enablement status. Tried for %s seconds.",
262
262
"errorEnablingOmniStudioSettingsMetadata": "Error while enabling the Omnistudio Metadata setting: %s. Enable it manually.",
263
-
"fieldIntegrityException": "Field integrity Exception while deleting metadata records from %s: %s",
263
+
"fieldIntegrityExceptions": "Metadata cleanup failed for %s due to a field integrity exception. Deactivate Active %s and try again.",
264
264
"manuallyEnableOmniStudioSettingsMetadata": "Manually enable the Omnistudio Metadata setting in your org’s Omnistudio Settings page.",
265
265
"omniStudioMetadataEnableConsentNotGiven": "You’ve not consented to proceed with enabling the Omnistudio Metadata setting. We’ll not be able to proceed with the migration.",
@@ -88,20 +111,21 @@ export class OmniStudioMetadataCleanupService {
88
111
* Checks a specific table for records and cleans them if found
89
112
*
90
113
* @param tableName - Name of the table to check and clean
91
-
* @returns Promise<number> - number of cleaned records, or -1 if failed
114
+
* @returns Promise<{recordCount: number, statusCode?: string}> - recordCount: number of cleaned records (or -1 if failed), statusCode: optional error status code
0 commit comments