What is Configuration Migration?:
Configuration Migration is a tool designed to enhance the efficiency and accuracy of transferring configurations between tenants. It is a tool for tenant admins, facilitating the systematic migration of schemas, templates, and dropdowns. It's important to note that other objects like access policies, users or data are not in scope for the GA release. During migration the tenant admin needs to first choose the objects they care to migrate. Benchling then downloads these objects and all their dependencies into a migration file. This file can be used to create or update objects in the destination tenant. Config migration can be used repeatedly between tenants to keep the configurations up-to-date.
Before and After:
Before: Previously, admins had to manually migrate configurations or request customer success assistance, which was time-consuming and prone to errors.
After: With the Configuration Migration tool, admins can export configurations from one tenant and replicate them in another, streamlining and automating the process.
Configuring & Using
Configuration: The tool is being rolled out in cohorts. If you do not currently see this capability in Benchling, then your cohort is still in the queue. Please reach out to your CSM to learn more.
At a high level, Configuration Migration follows this process:
- Select the objects to migrate
- Benchling auto-calculates the dependencies for these selected objects
- Selected objects + dependencies are exported into a configuration file
- Import the config file into the destination
- Validate configurations
- Import configurations
See below for more detailed instructions on how to complete a migration
Step 1: Open the Configuration Migration Tool
The Configuration Migration tool is located in the Feature settings menu. To navigate to the tool, click your Avatar and select Feature settings. In the left panel of the Feature settings menu scroll down to the Tools section and click on Configuration migration, this will open a screen prompting you through the relevant import and export steps.
Step 2: Select the Source Organization
In the menu of the Configuration Migration tool, click into the Export tab on the top left side.
Use the Organization dropdown to select which organization has the configurations you intend to migrate. Once selected, tables with the configurations in the selected Organization are displayed. Tables are grouped by object type: Dropdowns, Schemas, Templates, Workflows
Note: Migrations are most commonly between organizations in separate tenants, but migrations between organizations within the same tenant are possible.
Step 3: Select the Configurations to Migrate
Use the list of the Dropdowns, Schemas, Templates, and Workflows to search for what you’d like to include in the export. Click the checkboxes at the left to select an item to include it in the export.
To search for a specific template or schema, use the text box at the top right of each selection table to filter by name.
To export all Organization configurations, select the Migrate entire org option after you select the source Organization.
Note: By selecting a configuration item, all configuration dependencies will be automatically included to prevent import errors. A dependency is anything that is needed to configure an object, which means any object that is linked to the object you are migrating creates a dependency.
Step 4: Download the Config File
Once you have selected the objects that you would like to export, scroll down and click the Validate and Export button.
When complete, you will get a notification toast. If your export was successful, you will be able to see a summary of the migration objects and their included dependencies.
If the export is not successful, you will need to resolve the identified issues before proceeding.
Click Download export summary below the Migration Summary to save a human readable list of all the items to be migrated.
Step 5: Identify the Organization in the Destination Tenant for Import
Now that you have completed the export of your configuration, you are ready to import it to the destination organization. Like before, navigate to the configuration migration tool via Feature settings.
Once in the tool, verify that the Import tab is selected, and use the dropdown to select the destination organization.
Step 6: Upload the Config File
Click Choose a file or drag and drop the file to upload it to the destination tenant, then click Continue.
Optionally, you can download the Compare Configuration file for your upload. Clicking this link will download a CSV which compares the configuration between your source and destination organizations. This file can be useful for understanding how divergent the configurations are between two organizations.
Note: Upon upload, Benchling will begin analyzing the configuration which may take some time. This is displayed by the loading circle that populates in the bottom left-hand corner of the screen. Once the process is complete, you will have the option to click continue.
Step 7: Validate Schemas, Templates, and Workflows
Your config file will populate a list of schemas, templates, and workflows that are going to be imported. The tool will guide you to inspect each sequentially.
As you inspect the list, use the directional arrows to inspect the schema fields and use the dropdown at the right to verify if you would like to create, update, or ignore.
Tip: During export, Benchling auto-included dependencies of selected objects to make import easier. For the smoothest migration experience, avoid ignoring objects unless you included an object by mistake or you are certain nothing depends on it.
Once satisfied with the list of schemas and fields you are importing, click the Validate button. Benchling will validate the configurations, and after this process is complete, click Continue. Repeat this process for both Templates and Workflows.
All pages need to be clicked through, but validation is not required on pages that are not updating configurations.
At the bottom of each page, you are provided an Unchanged Items summary of how Benchling is processing the file based on what already exists in the tenant and what selections you have made. Each section can be expanded to view the items it refers to. See below for an explanation of each section:
X item(s) from the imported file will be ignored because there are identical item(s) in this organization
- Translation: Items included in the migration have identical matches on the destination. No updates will be applied to these items.
Y linked item(s) were not migrated based on selections during export.
- Translation: This means there are items on your destination mapped to items on your source, but these items were not included for migration. No updates will be applied to these items.
Z item(s) in this organization will remain unchanged
- Translation: This means there are items that exist only in your destination and not in your source . No updates will be applied to these items.
Step 8: Import Configuration
Once you have validated Schemas, Templates, and Workflows, you will be brought to a Review screen. This page is a preview of all the changes that have been made during the import process.
After reviewing the changes, click the Import Configuration button so Benchling can import the configurations onto your destination organization, this may take a few minutes.
Upon completion of the process, a Configuration Imported message will display, and a changelog will be displayed. A migration summary file can be downloaded at the top of the page for record keeping. This migration summary file is also sent to the email of the user who conducted the migration.
The steps above shows how to use the configuration migration tool on a single Notebook Template, but the process for migrating multiple Templates or the configuration of your entire organization is the same.
Other Considerations for Use
- Schemas are default set to Create/Update
- Templates are default set to Ignore
This is important to keep in mind when you migrate Templates with references to data, like pre-filled schema values or @-mentions. On the destination tenant, you will need to replace the Template placeholders with references to actual data in the destination tenant. The default settings for Templates are configured as such to avoid accidental overwriting of data with placeholders during subsequent migrations of the same Template.
Migration Warning Icons
The configuration migration tool uses two main icons to draw attention to changes to be made. These icons appear both in the Errors section at the bottom of each page and inline for each item they refer to.
- Yellow triangles indicate a change that requires attention, but will not block the migration. In the example below, admins should make sure to fix the placeholders post-migration, but they can complete the migration without issue.
- Red X’s indicate an issue that will need to be resolved before the migration can complete. In the example below, the field types of the schema will need to be aligned manually to unblock the migration.
These same messages can also be seen by clicking the inline icon for a specific item, like below:
Mapping Manually Migrated Objects
Objects that were created manually between two tenants can be updated via Configuration Migration. The first time that Configuration Migration is used to align these two objects, you will just need to manually map them in the Actions dropdown. If Configuration Migration finds an object with an exact name match, it will offer that object at the top of the alphabetized list of objects available for mapping.
In the example below, if you are migrating Manually Built Schema for the first time, it will default to Create. But if you know that there is a matching schema on the destination tenant, you will need to click into the Actions dropdown and search for the matching schema from the available objects. In this case, you can see that Config Migration found an exact name match and the Manually Built Schema on my destination is listed at the top of the list.
You would then select the matching schema, after which you could expand the view to ensure that the fields match as expected. Schema fields are the only objects in the tool that default map based on exact name matches. Alternatively, you could select the Actions dropdown and choose Create instead.
Once you complete this migration, Manually Built Schema will be mapped between your source and destination tenants. For every migration thereafter, the tool will remember this mapping.
Note: It is very important to get this mapping done correctly, as it cannot be undone once the migration is completed.
Caveats & Limitations:
In-scope Configuration Types:
Config migration aims to automate the movement of config between tenants, but the tool is not currently exhaustive in scope. Config migration will migrate the following:
- Registry schemas - Entity schemas, Plate schemas, Box schemas, Container schemas, Location schemas
- Result schemas
- Run schemas
- Study schemas
- Workflow task schemas
- Templates, Sub-templates, and Workflow execution templates
Out-of-scope Configuration Types:
All other objects are out of scope, including:
- Access policies
- Per schema permissions
- Label printing templates
- Users & teams
- Insights dashboards
- Projects & folders
- Inventory hierarchy
- Data references in configurations (e.g @-mentions or pre-filled schema values in Templates)
Warnings and Limitations:
Configuration migration does not allow users to make changes that are not possible in the UI. If you are blocked from making a change directly in the UI, you will also be blocked by configuration migration.
Given the in-scope objects above, the table below further summarizes the changes that can and cannot be made by the configuration migration tool for different schema types.
|Field Definition (ex. Text to Entity Link)
|Make a Field Required
|Field Warehouse Name
*Field attribute cannot be edited if data has been submitted against the schema
**Field archival will only be performed by the tool if no existing configurations in the destination tenant (i.e. Entity Links, computed fields) depend on the field.
Note: The one change in the table above that is possible via the UI and not possible via Configuration migration are field definition changes. Field definition changes can cause data loss if the new definition is more strict than the old definition (e.g. text to dropdown). This updating capability was excluded for now to avoid accidentally causing bulk data loss. This change will continue to need to be applied manually.
When configurations with references to data are migrated, Configuration Migration replaces these references with text placeholders. Placeholders need to be manually fixed after a migration. Only Templates use placeholders today.
- Placeholders for @-mention are highlighted in yellow in the body of the entry and include the name and API ID of the object that was mentioned.
- Placeholders for pre-filled schema field values are capitalized text inserted into the structured table.
Permissions & Entitlement:
- All Tenant Admins will have access to config migration if the flags are enabled.
We will continue to update this article to provide a more detailed guide. Always ensure to check the latest version of Benchling's documentation or reach out to our support team for any unresolved issues or complex scenarios.