I need to create a bidirectional sync b/w 2 Salesforce ORGs using Amazon appflow. All the relationship records needs to be in sync as well b/w these ORGs. I'm thinking to create External ID on each of these records for all objects for which flows are created to make sure relationships are preserved across ORGs. What is the best way to do bidirectional-sync ?
Amazon Appflow: Bidirectional sync b/w 2 Salesforce ORGs
606 Views Asked by Yashas G C At
1
There are 1 best solutions below
Related Questions in AMAZON-WEB-SERVICES
- "Access Denied" - User's Permissions to S3 Bucket
- Cohort analysis with Amazon Redshift / PostgreSQL
- Using Amazon KMS service on Heroku
- can't ssh in after cloning an EC2 instance on Amazon AWS
- Using HDFS with Apache Spark on Amazon EC2
- How can I access Mule ESB Community edition via browser?
- AWS EC2: Migrating from Windows to Linux Server
- AWS ELB Load Balancer: is it possible to set multiple session cookies?
- AWS Flow Framework: Can we run activity worker and activity task on different EC2 instances
- Unable to access files from public s3 bucket with boto
- Cloudfront stream only part of the video
- s3cmd not working as cron-task when echos/dates are added
- How to deploy django 1.8 on Elastic Beanstalk using Docker
- InstanceProfile is required for creating cluster - create python function to install module
- How to fix WordPress HTTPS issues when behind an Amazon Load Balancer?
Related Questions in AMAZON-S3
- Convert JSON.gz to JSON in node js
- Downloading objects from S3 with presigned URL
- "Access Denied" - User's Permissions to S3 Bucket
- jQuery file upload to S3 (and rails) with CORS headers
- copying file from local machine to Ubuntu 12.04 returning permission denied
- AWS Flow Framework: Can we run activity worker and activity task on different EC2 instances
- Unable to access files from public s3 bucket with boto
- s3cmd not working as cron-task when echos/dates are added
- AWS S3 object listing
- React-native upload image to amazons s3
- S3 restrictions on quantity of object downloads
- How to upload a photo in Meteor to S3 and have it sync to database item?
- Limit upload size to S3 with presigned URL
- dragonfly-s3 with S3 IAM user causing a forbidden 403 response from Amazon
- Split S3 files into multiple output files
Related Questions in SYNCHRONIZATION
- How to avoid concurrent access to a resource?
- Multiple jQuery slideshows won't stay in sync
- How to ensure data synchronization across threads within a "safe" area (e.g not in a critical section) without locking everything
- Multiple locks of one method from multiple objects
- laravel sync() equivalent for OneToMany relation
- git - Why reset --hard seems to be always needed
- LDAP Directory Synchronization Tools
- Migrating Nexus repository manager
- Implement two way syncing with Mysql In Iphone
- spin_lock before writing status register
- What's the best way to implement a single consumer, multiple producer scenario using Python?
- Why only mark() and reset() method are synchronized in java.io.InputStream?
- Any tools available for auto syncing the .js files
- Order of execution of Threads waiting for a synchronised block
- No Synchronize Model with Database in Mysql Workbench
Related Questions in SALESFORCE
- Flask-Restful, oauth, and Salesforce
- i am using Command line dataloader in Salesforce & create simple “process-conf.xml” file ,i want to give relative path insted of absolute path
- VBA automation to upload data into Salesforce
- "Operation in progress..." Never Ends When Previewing Rows in Kettle Spoon via Salesforce
- How to download attachments using c#
- Opportunity Field Dependency
- Create a dynamic SOQL Query using variable objects
- Salesforce - HubSpot API calls
- When does Time Dependent workflow rule executes?
- Customize 'Send with Docusign' Button in Salesforce
- How do I use a publicly hosted image as the background for a visualforce page?
- How to get access token and make salesforce rest api requests with paw?
- List button in Salesforce1
- Visualforce page is not refreshing after deleting a row from table
- Docusign Salesforce Logout/switch account
Related Questions in AMAZON-APPFLOW
- Gathering big amount of data from external API in AWS
- Handling Incremental Refresh in AWS Appflow
- Trying to use lifecycle -> ignore_changes -> destination_flow_config, but it is not working as expected
- Using AWS Appflow to pull data from Google Bigquery results in a response too large error
- How to schedule AWS App flow using Cloud Formation Template
- Adding Google Analytics Segments to AWS Appflow
- Why does my AWS AppFlow setup not show any subobject for selection?
- Transfer Multiple objects from Salesforce to S3 using Appflow
- Creation of AppFlow via Lambda: Googleanalytics source error
- Adding GA4 connection to AWS AppFlow
- How to Clear a pickup list value in Salesforce while updating from AWS APPFlow
- Amazon appflow creating new files (partitioning) every time a Salesforce flow is run, but I want to overwrite previous flow's file
- Filter on AWS appflow with or Condition
- AWS AppFlow CloudFormation Template Size Limit - Mapping 500+ fields
- Connecting from AWS AppFlow to SAP
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
AWS already has fairly similar article on this: https://aws.amazon.com/blogs/apn/using-amazon-appflow-to-achieve-bi-directional-sync-between-salesforce-and-amazon-rds-for-postgresql/
Although, my architecture below is serverless as I'm cheap and don't care for EC2 costs.
I recommend one source of truth in whatever you're doing. I'd personally do centralized DynamoDB with all the field/values you're intending per object. Then you can have event-driven lambdas to push data to S3 CSVs. Then those CSV updates get pushed via AppFlow for you.
You should have a single DynamoDB table in all of this. Or a separate table for each object but I'm not seeing the advantage of multiples. You only need one S3 bucket. Just need multiple folders.
Your DB structure would be something like below:
S3 Folder Structure:
You'd need a Lambda to consume the DynamoDB trigger events and know which S3 bucket folder to push to.
You'd need another Lambda to consume events of the S3 buckets. You can have simple branching in one lambda to know if S3_Bucket_Folder_1 is from Org_1 and S3_Bucket_Folder_2 is from Org_2. This would sync up the DynamoDB and know to push a CSV to the other bucket folder.
To make sure you don't have cyclical calls on the Lambdas, make sure you have directories for inbound and outbound pushes. The Flows allow you to set the Bucket prefix.
Then you just listen for create, update, and delete events. I personally haven't dealt with deletion event in AppFlow but worst-case you're just gonna make a Connected App and use Salesforce REST API to call delete.