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
// To migrate/assess specific components: FlexCards, DataMappers, Integration Procedures, or OmniScripts, add the following parameters:
45
-
--only=dr
46
-
--only=ip
47
-
--only=os
48
-
--only=fc
44
+
// To migrate/assess specific components: FlexCards, DataMappers, Integration Procedures, OmniScripts, or Global Auto Numbers, add the following parameters:
45
+
--only=dr // DataMappers (DataRaptors)
46
+
--only=ip // Integration Procedures
47
+
--only=os // OmniScripts
48
+
--only=fc // FlexCards
49
+
--only=autonumber // Global Auto Numbers
49
50
50
51
// To migrate all versions of the components and not just the active ones:
5. An HTML page will be open in your default browser with the results of your migration/assessment reports.
61
62
63
+
## Global Auto Number Migration
64
+
65
+
Global Auto Numbers are components that generate sequential numbers across your Omnistudio org. The migration tool supports both assessment and migration of these components.
66
+
67
+
### Prerequisites for Global Auto Number Migration
68
+
69
+
Before migrating Global Auto Numbers, ensure that:
70
+
71
+
1.**Org Preference is Disabled**: The `OmniGlobalAutoNumberPref` org preference must be disabled before migration
72
+
2.**Rollback Flags are Disabled**: Both `RollbackIPChanges` and `RollbackDRChanges` flags must be disabled
73
+
3.**Namespace is Specified**: Provide the correct namespace for your OmniStudio package
74
+
75
+
### Global Auto Number Migration Process
76
+
77
+
The migration process for Global Auto Numbers includes:
78
+
79
+
1.**Pre-migration Checks**: Validates that org preferences and rollback flags are properly configured
80
+
2.**Data Migration**: Transforms Global Auto Number settings from custom objects to standard Business Process Objects (BPO)
81
+
3.**Post-migration Cleanup**: Removes source objects and enables the `OmniGlobalAutoNumberPref` org preference
82
+
4.**Validation**: Ensures all records are successfully migrated before cleanup
83
+
84
+
### Global Auto Number Assessment
85
+
86
+
Assessment provides detailed information about:
87
+
88
+
-**Name Changes**: Identifies any naming modifications required to comply with API naming standards
89
+
-**Migration Readiness**: Determines if components can be automatically migrated or require manual intervention
90
+
-**Warnings**: Highlights potential issues that may affect migration success
"commandDescription": "Assess migration of omnistudio components from custom objects to standard objects",
10
11
"namespaceFlagDescription": "The namespaced of the package",
11
12
"apiVersionFlagDescription": "The Salesforce API version to use",
12
13
"errorNoOrgResults": "No results found for the org '%s'.",
13
-
"onlyFlagDescription": "Migrate a single element: os | ip | fc | dr",
14
-
"invalidOnlyFlag": "Invalid flag, valid options are: os | ip | fc | dr",
14
+
"onlyFlagDescription": "Migrate a single element: os | ip | fc | dr | autonumber",
15
+
"invalidOnlyFlag": "Invalid flag, valid options are: os | ip | fc | dr | autonumber",
15
16
"couldNotDeactivateOmniProcesses": "Could not deactivate current OmniProcesses",
16
17
"couldNotTruncate": "Could not truncate %s",
17
18
"couldNotTruncateOmnniProcess": "Could not truncate OmniProcess. Please make sure your OS/IP is not referenced in an OmniScrirpt or Flex Card.",
@@ -29,7 +30,7 @@
29
30
"allVersionsDescription": "Migrate all versions of a component",
30
31
"changeMessage": " %s will be changed from %s to %s",
31
32
"angularOSWarning": " Angular OmniScript will not be migrated, please convert this to LWC based Omniscript",
32
-
"apexLwcGA": "Please select the type of component to assess: 'apex' for Apex classes, 'lwc' for Lightning Web Components, or 'apex,lwc' if you want to include both types.",
33
+
"relatedObjectGA": "Please select the type of component to assess: 'apex' for Apex classes, 'lwc' for Lightning Web Components, 'flexipage' for FlexiPages, or 'apex,lwc,flexipage' if you want to include all types.",
33
34
"apexLwc": "Please select the type of component to assess: 'apex' for Apex classes.",
34
35
"invalidNamespace": "The namespace you have passed is not valid namespace, the valid namespace of your org is ",
35
36
"noPackageInstalled": "No package installed on given org.",
@@ -39,13 +40,17 @@
39
40
"formulaSyntaxError": "There was some problem while updating the formula syntax, please check the all the formula's syntax once : %s",
40
41
"errorDuringFlexCardAssessment": "Error during FlexCard assessment",
41
42
"errorDuringOmniScriptAssessment": "Error during OmniScript assessment",
43
+
"errorDuringGlobalAutoNumberAssessment": "Error during GlobalAutoNumber assessment",
"integrationProcedureNameChangeMessage": "Integration Procedure reference %s will be changed to %s during migration.",
95
103
"integrationProcedureManualUpdateMessage": "Integration Procedure reference %s may need manual updates after migration.",
96
104
"duplicateCardNameMessage": "Potential duplicate: Another card has the same name %s after name cleaning. This may cause conflicts during migration",
105
+
"globalAutoNumberNameChangeMessage": "GlobalAutoNumber name will be changed from %s to %s to follow API naming standards",
106
+
"duplicateGlobalAutoNumberNameMessage": "Potential duplicate: Another Global Auto Number has the same name %s after name cleaning. This may cause conflicts during migration",
97
107
"existingApexPrompt": "Do you have a sfdc project that already contains the APEX classes retrieved from your org? [y/n]",
98
108
"enterExistingProjectPath": "Enter the path to the project folder that contains the retrieved APEX classes:",
99
109
"invalidProjectFolderPath": "Provided project folder does not exist. Please provide a valid project folder path",
@@ -114,5 +124,18 @@
114
124
"errorParsingData": "Error while parsing data for template",
115
125
"errorGeneratingHTML": "Error while generating HTML from template for %s with properties %s",
"commandDescription": "Migrate omnistudio components from custom objects to standard objects",
13
14
"namespaceFlagDescription": "The namespace of the package",
14
15
"apiVersionFlagDescription": "The Salesforce API version to use",
15
16
"errorNoOrgResults": "No results found for the org '%s'.",
16
-
"onlyFlagDescription": "Migrate a single element: os | ip | fc | dr",
17
-
"invalidOnlyFlag": "Invalid flag, valid options are: os | ip | fc | dr",
17
+
"onlyFlagDescription": "Migrate a single element: os | ip | fc | dr | autonumber",
18
+
"invalidOnlyFlag": "Invalid flag, valid options are: os | ip | fc | dr | autonumber",
18
19
"couldNotDeactivateOmniProcesses": "Could not deactivate current OmniProcesses",
19
20
"couldNotTruncate": "Could not truncate %s",
20
21
"couldNotTruncateOmnniProcess": "Could not truncate OmniProcess. Please make sure your OS/IP is not referenced in an OmniScrirpt or Flex Card.",
@@ -29,7 +30,7 @@
29
30
"errorWhileUploadingCard": "An error ocurred while uploading Card: ",
30
31
"errorWhileCreatingElements": "An error ocurred while saving OmniScript elements: ",
31
32
"allVersionsDescription": "Migrate all versions of a component",
32
-
"apexLwcGA": "Please select the type of components to migrate: 'apex' for Apex classes, 'lwc' for Lightning Web Components, or 'apex,lwc' if you want to include both types.",
33
+
"relatedObjectGA": "Please select the type of components to migrate: 'apex' for Apex classes, 'lwc' for Lightning Web Components, 'flexipage' for FlexiPages, 'expsites' for Experience Sites, or 'apex,lwc,flexipage,expsites' if you want to include all types.",
33
34
"apexLwc": "Please select the type of components to migrate: 'apex' for Apex classes.",
34
35
"invalidNamespace": "The namespace you have passed is not valid namespace, the valid namespace of your org is ",
35
36
"noPackageInstalled": "No package installed on given org.",
@@ -63,11 +64,13 @@
63
64
"cleaningComponent": "Cleaning: %s",
64
65
"cleaningDone": "Cleaning Done: %s",
65
66
"migratingComponent": "Migrating: %s",
67
+
"cleaningFailed": "Cleaning Failed: %s",
66
68
"migrationCompleted": "Migration completed: %s",
67
69
"formulaSyntaxError": "There was some problem while updating the formula syntax, please check the all the formula's syntax once : %s",
68
70
"foundDataRaptorsToMigrate": "Found %s DataRaptors to migrate",
69
71
"foundFlexCardsToMigrate": "Found %s FlexCards to migrate",
70
72
"foundOmniScriptsToMigrate": "Found %s OmniScripts and Integration Procedures to migrate",
73
+
"foundGlobalAutoNumbersToMigrate": "Found %s GlobalAutoNumbers to migrate",
71
74
"allVersionsInfo": "allVersions : %s",
72
75
"migrationInitialization": "Migration Initialization: Using namespace: %s",
73
76
"apiVersionInfo": "API Version: %s",
@@ -114,5 +117,38 @@
114
117
"labelStatusFailed": "Failed",
115
118
"labelStatusComplete": "Complete",
116
119
"migrationConsentNotGiven": "Couldn't confirm whether assessment errors are resolved",
117
-
"migrationConsentMessage": "Ensure that all items in the assessment report are marked as Green before proceeding with the migration. Do you want to proceed?"
118
-
}
120
+
"migrationConsentMessage": "Ensure that all items in the assessment report are marked as Green before proceeding with the migration. Do you want to proceed?",
"globalAutoNumberPrefEnabledError": "Global Auto Number preference (OmniGlobalAutoNumberPref) is enabled. Please disable it before proceeding with migration.",
139
+
"bothRollbackFlagsEnabledError": "Both RollbackIPChanges and RollbackDRChanges flags are enabled. Please disable both flags before proceeding with Global Auto Number migration.",
140
+
"rollbackIPFlagEnabledError": "RollbackIPChanges flag is enabled. Please disable this flag before proceeding with Global Auto Number migration.",
141
+
"rollbackDRFlagEnabledError": "RollbackDRChanges flag is enabled. Please disable this flag before proceeding with Global Auto Number migration.",
0 commit comments