Advanced Integration Patterns Flashcards
Q. What are advanced integration patterns in Salesforce?
A. Advanced integration patterns define structured approaches to connecting Salesforce with external systems for scalability, efficiency, and maintainability.
Q. What are the key objectives of advanced integrations?
- Ensure data consistency across systems
- Optimize real-time and batch processing
- Minimize API call limits and performance issues
- Implement secure and scalable architectures
Q. What are the main types of integration patterns in Salesforce?
- Remote Process Invocation – Request & Reply
- Remote Process Invocation – Fire & Forget
- Batch Data Synchronization
- Remote Call-In
- UI Update Based on Data Changes
- Event-Driven Architecture
Q. What is the Request & Reply integration pattern?
A. A synchronous pattern where Salesforce sends a request to an external system and waits for a response before proceeding.
Q. When should you use Request & Reply?
- Real-time interactions with external systems
- When Salesforce needs immediate confirmation of a transaction
- Payment processing & stock availability checks
Q. What are the common technologies used in Request & Reply?
- REST & SOAP APIs
- OAuth & JWT for authentication
- Named Credentials in Salesforce
Q. What are the challenges of using Request & Reply?
- High response time may slow down user interactions
- Increased API call consumption
- Error handling complexities
Q. What is the Fire & Forget integration pattern?
A. A synchronous or asynchronous pattern where Salesforce sends a request to an external system but does not wait for a response.
Q. When should you use Fire & Forget?
- Logging system events
- Background data synchronization
- Sending transactional emails to external systems
Q. What are the advantages of Fire & Forget?
- Faster processing time
- Lower dependency on external system availability
Q. What are the risks of Fire & Forget?
- No immediate error handling
- Data consistency issues if messages fail
Q. What is Batch Data Synchronization?
A. A pattern that moves large volumes of data between Salesforce and external systems at scheduled intervals.
Q. When should you use Batch Data Synchronization?
- When data consistency is required across systems
- For nightly batch jobs or mass data migrations
Q. What are common tools for batch synchronization?
- Bulk API
- ETL tools (MuleSoft, Informatica, Jitterbit)
- Apex Batch Jobs
Q. What are best practices for batch processing?
- Use indexed fields for SOQL queries
- Break large jobs into smaller batches
- Monitor governor limits