Essential Preparations Before Transitioning to Salesforce OmniStudio Standard from OmniStudio for Vlocity
Nimit Shah
Tech Architect Senior Manager | Salesforce Certified System & Application Architect | 32x Certified | Director of Salesforce Practice | Salesforce Architect Group Leader
Introduction: Unlocking the full potential of Salesforce OmniStudio involves migrating from OmniStudio for Vlocity to OmniStudio Standard. In this guide, we'll explore the steps and considerations necessary to seamlessly transition to OmniStudio Standard, enabling you to leverage its enhanced features and functionalities.
Understanding the Transition: Salesforce OmniStudio Standard offers a suite of enhancements specifically tailored for standard object data models. Migrating your custom DataRaptors, FlexCards, Integration Procedures, and OmniScripts to OmniStudio Standard is crucial to take advantage of these enhancements effectively. The migration process is facilitated by the OmniStudio Migration Tool, a Salesforce command-line interface (CLI) plugin in Salesforce Developer Experience (SFDX), ensuring a smooth transition from custom objects to standard objects.
Key Considerations: Before diving into the migration process, it's essential to understand some key considerations:
If your organization relies on custom objects and utilizes any OmniStudio package excluding the Salesforce Communications, Media, and Energy (CME) package, the OmniStudio Migration Tool is your go-to solution. It seamlessly facilitates the migration process, ensuring a smooth transition to standard objects and standard runtime. However, it's important to note that the CME package does not support migration to standard objects or standard runtime.
In standard OmniStudio, utilizing the standard OmniScript and FlexCard runtimes alleviates the need to generate and deploy a Lightning Web Component (LWC) for every custom component. This streamlines the deployment process, saving valuable time and reducing complexity. Additionally, OmniScripts and FlexCards can be activated seamlessly without the need for manual intervention.
Ensure to execute the migration tool solely within a dedicated sandbox org. Under no circumstances should the tool be run in a production org. This precautionary measure ensures the integrity and safety of your production environment during the migration process.
The OmniStudio Migration Tool efficiently transfers OmniStudio metadata, including active DataRaptors, FlexCards, Integration Procedures, and OmniScripts, from custom objects within the Vlocity OmniStudio managed package to the standard object data model. Following the migration process, you'll utilize the Metadata API to push the migrated metadata out of your migration org.
It's important to note that IDX Workbench and OmniOut, though essential components, do not fall under the OmniStudio package and therefore do not necessitate migration.
In broad strokes, the migration process entails several key steps: preparing your content for migration, executing the migration tool within a sandbox org, conducting comprehensive testing of the migrated content, and finally, deploying it to the production environment.
Migration Process Overview: The migration process involves several key steps:
2. Considerations Regarding Runtime: In the OmniStudio landscape, it's essential to comprehend the nuances of runtime functionalities. Within a Salesforce organization, you can have both OmniStudio content utilizing the custom object model and content utilizing the standard data model concurrently. This setup allows for the incremental migration of custom content, facilitating a seamless transition.
Object models within OmniStudio delineate the metadata foundation of various components like FlexCards, OmniScripts, DataRaptors, and Integration Procedures. Two distinct object models exist: custom and standard.
Meanwhile, runtimes dictate the user interface experience within OmniStudio designers. There are two primary runtimes: custom and standard. While standard runtime remains enabled at all times, custom runtime can be toggled on or off. When custom runtime is disabled, all custom objects cease functioning, and designers default to standard runtime. Notably, designers can only save content in a single data model at any given time.
Objects constructed on the standard data model are compatible with both standard and custom runtime. However, objects constructed on the custom data model are exclusively compatible with custom runtime.
领英推荐
By default, DataRaptors and Integration Procedures operate using the standard runtime. Exceptions occur in specific scenarios:
This logic extends to previewing DataRaptors and Integration Procedures within their respective designers, as well as invoking them via API or Apex.
Post-migration to the standard object data model, migrating components to standard runtime becomes imperative. This transition can occur en masse or incrementally, facilitating efficient testing.
For a comprehensive migration, backward-compatible Lightning Web Components prove invaluable. Activating Standard OmniStudio Content and utilizing the Deploy Backwards Compatible LWC feature enables the seamless generation of custom LWCs with standard runtime compatibility.
Alternatively, an incremental migration approach allows for meticulous testing. Temporarily enabling Standard OmniStudio Content permits the migration of select OmniScripts and FlexCards to standard runtime, ensuring a smooth transition. Subsequent testing verifies the effectiveness of the redeployed components before finalizing the transition.
3. Migration Considerations for OmniStudio Objects: As you embark on the migration journey for your OmniStudio objects, it's crucial to understand the disparities between your existing custom content and the migrated versions. Here's a breakdown of key considerations for each component:
Migration of Integration Procedures: Let's delve into the distinctions between custom Integration Procedures and their migrated equivalents.
Migration of Omniscripts: Let's delve into the distinctions between custom OmniScripts and their migrated equivalents.
Migration of DataRaptors: Let's delve into the distinctions between custom DataRaptors and their migrated equivalents.
Migration of FlexCards: Let's delve into the distinctions between custom FlexCards and their migrated equivalents.
4. Sandbox Orgs for OmniStudio Migration: Before embarking on the migration journey for your OmniStudio custom objects to the standard data model, it's essential to establish a robust sandbox environment. Here's a detailed breakdown of setting up sandbox orgs for seamless migration:
Conclusion: Understanding these preliminary steps is paramount to ensuring the readiness of your organization for the migration process. In my forthcoming article, I'll delve into the intricacies of the actual migration process and outline the subsequent steps to be taken post-migration. Stay tuned for valuable insights and guidance on navigating through this crucial phase of your OmniStudio journey.
In crafting this blog post, I drew inspiration from a variety of sources and referenced several insightful articles and resources. I extend my gratitude to https://developer.salesforce.com/ and https://help.salesforce.com/
Chief Conversational AI Disruptor @ ChatFusion/ContactLoop | E&Y Entrepreneur of the Yr '08 | $150mn Exit ‘08 | AI Insights for Marketers & Sales Executives
8 个月Nimit Shah Very nice article on Salesforce transition, thx Thank you for reposting Puneet Bharadwaj
Line manager (Director) at Amdocs
8 个月Good one Nimit Shah
Enterprise Revenue Lifecycle Transformation Lead | Quote-to-Cash Business Process Architect | Conga & Salesforce Revenue Cloud Architect
8 个月Nimit thanks for sharing this valuable information….hugely helpful!