Configuration Deployment
- 30 Mar 2023
- 10 Minutes to read
- Contributors
- DarkLight
- PDF
Configuration Deployment
- Updated on 30 Mar 2023
- 10 Minutes to read
- Contributors
- DarkLight
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
ON THIS PAGE
Understanding Deploy Configuration
Deploy configuration is a mechanism that lets you quickly deploy data components to your target environment, either through record-based migration or a dataset configured in your Salesforce org.
Validating the Datasets Before Actual Deployment
These step-by-step procedures identify how to validate the datasets before the actual deployment begins.
- In your browser, navigate to:
https://{my-organization}.autorabit.com
- Enter your login credentials.
- Click Login.
- Click on the Salesforce CPQ tile to, navigate to the Record Migrator portal.
- Click on the Deploy Configuration box.
- Select Create Dataset box, and click on Next.
- Select the Source Sandbox.
- Choose the configuration template and its template version from the App Config Template and Version dropdown respectively. This retrieves the objects that are part of the configuration template.
- For each object listed, you'll have a provision to apply data masking (encryption of sensitive details) to its records or apply a filter to extract records within a specified limit.Note:
- Data Masking: Data masking refers to the process of changing certain data elements within a data store so the structure remains similar while the information itself is changed to protect sensitive information. This ensures that sensitive customer information is inaccessible beyond the permitted production environment.
- Filter: Enter criteria in the Filters section to extract records within a specified limit.
- To apply data masking, click on the (
) icon.
- In the Data Masking popup screen, click on + Create New.
- To create a masking rule,
- Give a name to the data masking rule in the Rule Name field.
- Choose the Field Type of the record, e.g., string, date, phone, etc.,
- Select the Fields (Records) from the list.
- Choose the Masking Style:
- Prefix: This option adds the character before the selected field name. For example, if the field value in the source org is ABC, and the prefix masking value is kept as 123, then the final field value being deployed will be 123.ABC
- Suffix: This option adds the character after the selected field name. For example, if the field value in the source org is ABC, and the suffix masking value is kept as 123, then the final field value being deployed will be ABC.123
- Replace: This option substitutes the selected field name with the character you enter in the Masking Value field. For example, if the field value in the source org is ABC, and the replace masking value is kept as 123, then the final field value being deployed will be 123
- Shuffle: This selection shuffles the data in the column (like a deck of cards) and leaves the other columns untouched. For example, if the field value in the source org is ABCDE, then the final field value being deployed might be DCBEA
- Generate Random: This option is useful for masking the original value with a random value within a specified range. For example, if the field value in the source org is ABC, and the random string length value is set to 7, then the final field value being deployed might be something like 15d3aRG
- Enter the masking value.
- Click on the Create button to save the masking rule.
- Click Apply to go back to the Objects page.
- In addition, you can also apply filters to extract the records based on the criteria specified.
- Click on the Filter (
) icon.
- You can use either Add Group or Add Condition on your selected object to build a SOQL query in both conditions (AND / OR). To add a condition to your selected objects, for example, click the Add Condition button. To add multiple conditions, click Add Condition and then repeat the process.
- You can even filter the details via date or a date literal. A date literal is a fixed expression that represents a relative range of time, such as last month, this week, or next year. (Refer HERE for the list of data literals supported).
- The filter query gets added and displayed in the filter box. Multiple queries can be added based on your requirement. Validate your query to see if the query entered is stable or not. Additionally, you'll be able to view the number of records that will be fetched.
- The Limit box will limit the number of records to be extracted from the source, giving a value in this field.
- Click on the Filter (
- Click Next to proceed to the final screen where you need to give the process a Label Name.
- Save and you will be redirected to the Configuration Deployments summary page where you can track the deployment process recently created.
- Once the deployment is configured successfully, you can deploy the datasets to your destination environment. Click on the three-dot icon to the right, and select Deploy.
- Select the Destination Org from the dropdown.
- Next, specify the criteria for the deployment process. The table below lists the configurations to choose from along with their description:
Configurations Description Disable Workflows Rules The workflow of the Salesforce objects is deactivated, and the data is transferred from the source to the destination sandbox. Once the migration is completed, workflows are reactivated. Disable Validation Rules Validation rules verify that the data a user enters in a record meets the criteria you specify before the user can save the record. On selection, all the validation rules of the Salesforce objects are deactivated, and the data is transferred from the source to the destination sandbox. Once the migration is completed, validation rules are reactivated. Use Bulk API The Bulk API is based on REST principles, and it’s optimized for inserting, updating, and deleting large sets of data. You can use the Bulk API to process jobs either in serial mode or in parallel mode. Processing batches serially means running them one after another, and processing batches in parallel means running multiple batches at the same time.
Note: When you run a Bulk API job, processing more of its batches in parallel means giving that job a higher degree of parallelism, which in turn gives your overall run better data throughput.Insert/update with null values This will either insert or update record field values with null in the destination org. - Click Deploy and you will be redirected to the Configuration Deployments summary page, where you can track the deployment triggered.
Deploying Datasets Using the Configuration Templates
This section provides step-by-step procedures to deploy the datasets to your destination environment.
- In your browser, navigate to:
https://{my-organization}.autorabit.com
- Enter your login credentials.
- Click Login.
- Click on the Salesforce CPQ tile to, navigate to the Record Migrator portal.
- Click on the Deploy Configuration box.
- Select the Deploy Dataset box, and click on Next.
- Select the Source Sandbox.
- Choose the configuration template and its template version from the App Config Template and Version dropdown respectively. This retrieves the objects that are part of the configuration template.
- Choose your Destination Sandbox from the dropdown.
- For each object listed, you'll have a provision to apply data masking (encryption of sensitive details) to its records, field mappings, or a filter to extract records within a specified limit.Note:
- Data Masking: Data masking refers to the process of changing certain data elements within a data store so the structure remains similar while the information itself is changed to protect sensitive information. It ensures that sensitive customer information is inaccessible beyond the permitted production environment.
- Filter: You need to specify criteria in the Filters section to extract records within a specified limit.
- Field Mappings: You can use an external ID in place of a related record's Salesforce record ID to relate or associate records with each other. For example, if Object B has a lookup field to Object A you can use the values contained in a field that's marked as an external ID on Object A to relate the two (Object B to Object A records).
- To apply data masking, click on the (
) icon.
- In the Data Masking popup screen, click on + Create New.
- To create a masking rule:
- Enter a name for the data masking rule in the Rule Name field.
- Choose the Field Type of the record, e.g., string, date, phone, etc.,
- Select the Fields (Records) from the list.
- Choose the Masking Style:
- Prefix: This option adds the character before the selected field name. For example, if the field value in the source org is ABC, and the prefix masking value is kept as 123, then the final field value being deployed will be 123.ABC
- Suffix: This option adds the character after the selected field name. For example, if the field value in the source org is ABC, and the suffix masking value is kept as 123, then the final field value being deployed will be ABC.123
- Replace: This option substitutes the selected field name with the character you enter in the Masking Value field. For example, if the field value in the source org is ABC, and the replace masking value is kept as 123, then the final field value being deployed will be 123
- Shuffle: This shuffles the data in the column (like a deck of cards) and leaves the other columns untouched. For example, if the field value in the source org is ABCDE, then the final field value being deployed might be DCBEA
- Generate Random: This option is useful for masking the original value with a random value within a specified range. For example, if the field value in source org is ABC, and the random string length value is set to 7, then the final field value being deployed might be something like 15d3aRG
- Enter the masking value.
- Click on Create button to save the masking rule.
- Click Apply to go back to the Objects page.
- Next, to apply the field mappings, click on the (
) icon. Mappings are the process of matching objects and their related fields in your Salesforce org. You will need to ensure you have all required fields, as well as IDs, which are needed to verify data.
- In the Source field: Select which source field values will be populated in the destination External ID field.
- In the Destination field: Select which required field from the destination org values will remain unique for all the records.
- You can automatically map the members and the fields using Automap. It compares the destination fields with the fields available for the object. If they both match, then the value is selected automatically.
- Click Save.
- In addition, you can also apply filters to extract the records based on the criteria specified.
- Click on the Filter (
) icon.
- You can use either Add Group or Add Condition on your selected object to build a SOQL query in both conditions (AND / OR). To add a condition to your selected objects, for example, click the Add Condition button. To add multiple conditions, click Add Condition and then repeat the process.
- You can even filter the details via date or a date literal. A date literal is a fixed expression that represents a relative range of time, such as last month, this week, or next year. (Refer HERE for the list of data literals supported).
- The filter query gets added and gets displayed in the filter box. Nevertheless, multiple queries can be added based on your requirement. Validate your query to see if the query entered is stable or not. Additionally, you'll be able to view a number of records that will get fetched.
- The Limit box will limit the number of records to be extracted from the source, giving a value in this field.
- Click on the Filter (
- Click Next to proceed to the Review and Save screen, where you'll give the current process a label name and specify the criteria for your deployment process. The table below lists the configurations to choose from along with their descriptions:
Configurations Description Disable Workflows Rules The workflow of the Salesforce objects is deactivated, and the data is transferred from the source to the destination sandbox. Once the migration is completed, workflows are reactivated. Disable Validation Rules Validation rules verify that the data a user enters in a record meets the criteria you specify before the user can save the record. On selection, all the validation rules of the Salesforce objects are deactivated, and the data is transferred from the source to the destination sandbox. Once the migration is completed, validation rules are reactivated. Use Bulk API The Bulk API is based on REST principles, and it’s optimized for inserting, updating, and deleting large sets of data. You can use the Bulk API to process jobs either in serial mode or in parallel mode. Processing batches serially means running them one after another, and processing batches in parallel means running multiple batches at the same time.
Note: When you run a Bulk API job, processing more of its batches in parallel means giving that job a higher degree of parallelism, which in turn gives your overall run better data throughput.Insert/update with null values This will either insert or update record field values with null in the destination org. - Click Deploy and you will be redirected to the Configuration Deployments summary page where you can track the deployment triggered.
Was this article helpful?