You are here:
Assess the Migration Readiness in Your Development Sandbox (Vlocity Industries Managed Package and Standard Data Model)
In the development sandbox, run the Omnistudio Migration Assistant in Assess mode to assess how the migration process impacts each Omnistudio component.
Before You Begin
To run the Omnistudio Migration Assistant, you must have the Omnistudio admin and Omnistudio user permission sets assigned. See Omnistudio Permission Sets.
-
Authenticate to the migration sandbox org:
sf org login web --instance-url=<your_sandbox_URL> -
When prompted, enter your username and password. The authorization successful message
appears.
Note All prompts in the Omnistudio Migration Assistant have a timeout of five minutes. If no input is provided within this time, the command exits automatically.
-
Open the Omnistudio Migration Assistant tool Versions page
and install the Omnistudio Migration Assistant version
2.0.0-preview.27 by running this command in the terminal:
sf plugins install @salesforce/plugin-omnistudio-migration-tool@2.0.0-preview.27 -
Run the Omnistudio Migration Assistant in Assess mode.
sf omnistudio:migration:assess [-u <string>] [-a] [--only=(dm|ip|os|fc|autonumber|cl)] [--relatedobjects=(apex|lwc|expsites|flexipage) [--verbose]- To assess all versions of the components, use
-aor–allversions:sf omnistudio:migration:assess -u <YOUR_ORG_USERNAME@DOMAIN.COM> -aWhere,
YOUR_ORG_USERNAME@DOMAIN.COMis your username in the sandbox.Example:
sf omnistudio:migration:assess -u asmith@sample.com -aIf you don’t specify either -a or –allversions parameter in the command, the Omnistudio Migration Assistant requests for your consent to assess all versions of the Omnistudio components. Enter
yto consent. If you don't consent to assess all versions of the Omnistudio components, you cannot proceed with the assessment. - To assess specific components, use the
-oor--only=dmparameter:--only=dm: Data Mappers--only=ip: Integration Procedures--only=os: Omniscripts--only=fc: Flexcards--only=autonumber: Omni Global Auto Numbers--only=cl: Custom Labels
Example:
sf omnistudio:migration:assess -u asmith@sample.com –only=dm - To assess specific or all related objects, use the
-ror--relatedobjectsparameter:--relatedobjects=apex: Apex classes--relatedobjects=lwc: Lightning web components--relatedobjects=expsites: Experience Sites--relatedobjects=flexipage: FlexiPages--relatedobjects="apex,lwc,expsites,flexipage": all related objects
Example:
sf omnistudio:migration:assess -u asmith@sample.com --relatedobjects=apex - To assess username or alias for the target org and to override the default target org:
-u <target_username>or--targetusername=<target_username>: Username of the target org or alias you’ve set up in Salesforce CLI for that org.
Example:
sf omnistudio:migration:assess -u asmith@sample.com - To control the amount of details shown in the command output, use the
--verboseparameter with the command:Example:
sf omnistudio:migration:assess -u asmith@sample.com --verbose
- To assess all versions of the components, use
- If multiple Omnistudio packages are found, select one of the packages by entering its number.
-
When prompted, enter y or n to specify
whether you already have a Salesforce project with related objects.
- If you entered n:
- The tool connects to your org and retrieves related objects such as Apex classes, FlexiPages, Experience Cloud site pages, and Lightning web components (LWCs).
- Enter y to proceed.
- Create an empty project folder where the tool can retrieve and store the related objects.
- When prompted, enter the path to the project folder. For example: /Users/<your_name>/Downloads/OMA
- If you entered y:
- When prompted, enter the path to the project folder that contains the retrieved related objects. For example: /Users/<your_name>/Downloads/OMA
- If you entered n:
-
Enter y to confirm that you consent to enable the ExperienceBundle
metadata API and migrate Experience Cloud sites.
The assessment process is initiated.
After the assessment is complete, a confirmation message appears indicating that the reports are ready for review. For example:
Migration assessment for org XYZ is complete and reports are ready for review in the folder <local_folder_path>/assessment_reportsWhere,
<local_folder_path>is the location on your machine where the assessment reports are stored. The assessment reports also appear in a new browser window.The assessment reports are generated for these components:
- Omniscripts
- Flexcards
- Data Mappers
- Integration Procedures
- Apex Classes
- Omni Global Auto Numbers
- FlexiPages
- Experience Cloud Site Pages
- Lightning Web Components
- Custom Labels
- Click the component for which you want to view the assessment report, and review it to identify potential migration issues and determine whether any updates are required before migration. See Review the Assessment Reports.
- To ensure a smooth migration, complete all the pending action items that are listed as Needs Manual Intervention in the assessment reports.
-
To validate readiness, re-run the Omnistudio Migration Assistant in Assess mode.
Each time you run the Omnistudio Migration Assistant, it reruns assessments on all components and generates new reports.
- Make sure that all records listed in the Assessment Status column in the Assessment Report are marked as either Ready for Migration or Warnings before proceeding with the migration.
- Review the Assessment Reports (Vlocity Industries Managed Package or Omnistudio Foundation Package and Standard Data Model)
When you run the Omnistudio Migration Assistant in Assess mode, it generates assessment reports for Omniscripts, Flexcards, Data Mappers, Integration Procedures, Apex Classes, Omni Global Auto Numbers, FlexiPages, Experience Cloud Site Pages, Lightning Web Components, and Custom Labels. These assessment reports highlight several key areas that require attention before migrating Omnistudio components.

