Table of Contents
- The requirement is to Backup and Restore every SKYVVA object that you need to transport from one instance to another instance. It means that you can restore only the Adapter, Workflow, or Interface (For example: You go to the tab Adapters and choose one or more, then press the Restore Adapter button).
- Now when the user restores Integration we backup also Interfaces, adapters, and workflow that were included in this Integration.
Backup Process: # |
Restore Process: # |
|
|
- There are 4 Steps to be followed to achieve Backup-Restore functionality.
For example:
Step 1: Create a Remote Site Setting in the source Organisation. (SendersOrg) OrgA.
- Go to Setup
- Enter remote site settings in the quick-find box
- There are 2 remote site settings to create.
- Login Url: https://login.salesforce.com (Production) or https://test.salesforce.com (sandbox)
- Target Org Url: https://ap5.salesforce.com (sample) (Classic URL) https://akashtest-dev-ed.my.salesforce.com
- Remote site settings for Login Url. Check the picture given below.
- Remote site settings for Target Org Url(Classic URL)/ Lightning URL. Check the picture given below.
- Hence both the remote site settings are created.
Step 2: Create a Connected App in Source Organization(Receivers org) OrgB
- Go to Setup
- Enter App Manager in the quick find box
- Click on New Connected Apps
- Please, add Full Access to Selected Oath Scopes.
- In the connected app, you will get the Consumer Key And Consumer Secret. And use these values to create a Transport Routes.
Step 3: Create a Transport Routes(Senders org)
- Click on the Integration Cloud Tab
- Open Transport Route
- Click on New
- Fill all the fields
- Enter Consumer Key and Consumer Secret of Target org.
- Check the details page as shown below.
- Username, password, and security token we will enter of target org. Check the picture given below.
Step4: Transport Route
- Go to the SKYVVA integration app
- Click on Integration
- Select the Integration that we want to Restore
- Click Export Integration To Other Org.
- Choose Transport Route and Click Transport.
Note
If you do not see the Transport To Other Org button, you need to edit the layout on SKYVVA__Integration__c SObject. For Restore other SKYVVA sObjects like IStructure, IMapping, IChained, IWorkFlow, IForeign Key, etc. You need to edit the layout on SKYVVA__Interface__c Sobject to add the button Transport To Other Org into the related List. All SObjects that you Restore will be overridden on Target Org.
- In the Target Organization, there is the same Integration.
Advantage: #
The advantage of using the Transport routes is that restore can send more than one integration at a time. And most importantly we can directly restore it to the other org.