SlideShare ist ein Scribd-Unternehmen logo
1 von 23
Downloaden Sie, um offline zu lesen
Enterprise Integration
Solution patterns from the field
Safe Harbor
Safe harbor statement under the Private Securities Litigation Reform Act of 1995:
This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties
materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results
expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be
deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other
financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any
statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services.
The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new
functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our
operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of any
litigation, risks associated with completed and any possible mergers and acquisitions, the immature market in which we operate, our
relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our
service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to
larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is
included in our annual report on Form 10-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most recent
fiscal quarter. These documents and others containing important disclosures are available on the SEC Filings section of the Investor
Information section of our Web site.
Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently
available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions
based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these
forward-looking statements.
Ammar Alamar
Director – Salesforce Services, Australia
Troy Sellers
Platform Architect, APAC
Agenda
▪ Review integration patterns & Salesforce capabilities
▪ Use Case
▪ The notify with callback pattern
▪ Integration assessment criteria
▪ Alternatives
▪ Handling errors
▪ Q&A | References
Integration Patterns
▪ Synchronous
▪ Asynchronous
▪ Notify with callback (fire & forget)
▪ Batch data replication

Apex Callout
Outbound Messaging / Apex Callout
** Today’s Pattern **

▪ Publish & Subscribe

Salesforce APIs (REST | SOAP)

▪ Polling

Streaming API
Salesforce APIs (REST | SOAP)

▪ Integration Patterns and Best Practice
http://www.salesforce.
com/us/developer/docs/integration_patterns/integration_patterns_and
_practices.pdf (page 18-23)
What Are We Solving For?
Integration Assessment Criteria
We are looking to solve with the following criteria in mind:
▪ Secure

▪ Bulkified

▪ Extensible

▪ Mobile friendly

▪ Maintainable

▪ Transaction Integrity

▪ Guaranteed message delivery

▪ Reports and monitoring
Notify / Callback Pattern
Middleware

Salesforce.com
Workflow
Rule

Outbound
Message

Remote
Listener

Queue /
Orchestrate

Remote
System

WF Action
Outbound
Message

Send Outbound
Message
(Notify)
Acknowledge

Web
Service API

Queue
Ack

Retrieve data
Invoke
Process Lifecycle

8 Sales P.O. in ERP
7 Fulfillment (Create &
6 Fulfill P.O. complete.
5 Populate External query data
4 Approval / processID update)
3 CreateRep Back office task(s)
2 – Acknowledge and an Opportunity
1
closes
Another transaction order a
A created purchase messageasis needs
An optional tasks If Salesforcerequires a soft
Back retrieved fromSalesforcethat action to the
Datafulfillment system hasinitiatessent to thebefires.
The outbound messagesuchsimpleprocess that
office step. occur is internal notify.
Outbound Message (configured approval
via workflow)
sent system
requires and retrieve to the a required
fulfillmentcreation Purchase 24hr
foreign key the ofprovidescreated
process, to run. ERP the Salesforce etcfor
ERP to bothreference and data OrderP.O. the
CallbackSalesforceThis needs to be delivery
OBM in system.
transactional with the system
transaction from Salesforce. update in
guarantee.
Salesforce.

4

3

Cloud Gateway

1
2
5
Web Service APIs

8

5

ERP

6

8

Transaction A

6

6
Transaction B

8

7

Fulfilment
End To End Solution - Security
Cloud Gateway
ERP

Web Service APIs

Transaction A

Transaction B

Fulfilment
End To End Solution
Assessment Against Criteria
Criterion

Assessment

Secure
✓

Network, Transport and Application level security.
Dual firewall DMZ.
Web Service Gateway

Maintainable

✓

Salesforce: Clicks not code
Cloud Gateway: Yes (product dependent)

Guaranteed Delivery

✓

First Mile: Outbound Messaging
End to end: Middleware / Cloud Gateway

Bulkified

✓

Outbound Message: 100 records per message

Mobile Friendly

✓

Asynch outbound message. Not tied to UI.

Transaction Integrity

✓

Callback by cloud gateway. Message ID filtering.

Reports and Monitoring

✓

End to end: Via Middleware
First Mile: Salesforce Outbound Messaging

Extensible
Alternatives
Apex Callout via @Future contexts
▪ Code (extensibility & maintainability)
▪ Governor limits (10 @Future x 10 Callouts each)
▪ No retry mechanism
▪ No reporting for first-mile delivery

Visualforce Apex Callout (Asynchronous)
▪ Code
▪ No retry (especially when user navigates away)
▪ No reporting for first-mile delivery
Options Analysis
Criterion

Outbound Message

Apex Callout (VF)

Apex Callout (@Future)

✓

✓

✓

✓

X

X

Guaranteed Delivery

✓

X

X

Bulkified

✓

X

✓
with limits

Mobile Friendly

✓

X

✓

Transaction Integrity

✓

✓

✓
assuming a callback

Reports and Monitoring

✓

X

X

Secure
Extensible
Maintainable
When good things go bad…
What happens when there are functional / validation errors
▪ Asynchronous messages do not give users feedback
▪ Users will need feedback as to the current status
• E.g In Queue, Sent, In Error etc

▪ Operations / Support team needs access to proactively investigate
and quantify errors.
Integration Control Fields
▪ Each object / record sent to the master system has 3 fields
▪ Integration Action (Add, Modify, Delete)
▪ Integration Status (Sent, Complete, Error)
▪ Integration Error Code

▪ A workflow rule fires and sends an outbound message when
the integration action is set to ‘Sent’
Notification Centre

When the integration status stays at ‘Sent’ for > 90 seconds

When the integration for parent or child record is set to ‘Error’ then rollup error to Customer

Notifications centre is also used for Business Rules and Manual entries
Where To Get More
• Download and review the Salesforce.com Integration
Patterns and Best Practice paper
http://bit.ly/1aMHrVC

Visit the integration page on wiki.developerforce.com
http://wiki.developerforce.com/page/Integration

• Create a developer account
https://events.developerforce.com/signup

• Use the Integration CookBook
http://developer.force.com/cookbook/category/integration/
Ammar Alamar

Troy Sellers

Director – Salesforce Services, Australia

Platform Architect – APAC
@ibigfoot7
We want to hear
from YOU!
Please take a moment to complete our
session survey
Surveys can be found in the “My Agenda”
portion of the Dreamforce app
Enterprise Integration - Solution Patterns From the Field

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Using SolMan ChaRM, CSOL and Retrofit to support a dual project and productio...
Using SolMan ChaRM, CSOL and Retrofit to support a dual project and productio...Using SolMan ChaRM, CSOL and Retrofit to support a dual project and productio...
Using SolMan ChaRM, CSOL and Retrofit to support a dual project and productio...
 
How to Use Salesforce Platform Events to Help With Salesforce Limits
How to Use Salesforce Platform Events to Help With Salesforce LimitsHow to Use Salesforce Platform Events to Help With Salesforce Limits
How to Use Salesforce Platform Events to Help With Salesforce Limits
 
Mulesoft Connections to different companies, and different services
Mulesoft Connections to different companies, and different servicesMulesoft Connections to different companies, and different services
Mulesoft Connections to different companies, and different services
 
Salesforce Integration
Salesforce IntegrationSalesforce Integration
Salesforce Integration
 
Introduction to Apex Triggers
Introduction to Apex TriggersIntroduction to Apex Triggers
Introduction to Apex Triggers
 
Salesforce Streaming event - PushTopic and Generic Events
Salesforce Streaming event - PushTopic and Generic EventsSalesforce Streaming event - PushTopic and Generic Events
Salesforce Streaming event - PushTopic and Generic Events
 
Performing a successful technical debt assessment in Salesforce
Performing a successful technical debt assessment in SalesforcePerforming a successful technical debt assessment in Salesforce
Performing a successful technical debt assessment in Salesforce
 
Architecting Multi-Org Solutions
Architecting Multi-Org SolutionsArchitecting Multi-Org Solutions
Architecting Multi-Org Solutions
 
Champion Productivity with Service Cloud
Champion Productivity with Service CloudChampion Productivity with Service Cloud
Champion Productivity with Service Cloud
 
From Sandbox To Production: An Introduction to Salesforce Release Management
From Sandbox To Production: An Introduction to Salesforce Release ManagementFrom Sandbox To Production: An Introduction to Salesforce Release Management
From Sandbox To Production: An Introduction to Salesforce Release Management
 
Manage Development in Your Org with Salesforce Governance Framework
Manage Development in Your Org with Salesforce Governance FrameworkManage Development in Your Org with Salesforce Governance Framework
Manage Development in Your Org with Salesforce Governance Framework
 
Deep dive into Salesforce Connected App
Deep dive into Salesforce Connected AppDeep dive into Salesforce Connected App
Deep dive into Salesforce Connected App
 
Best Practices with Apex in 2022.pdf
Best Practices with Apex in 2022.pdfBest Practices with Apex in 2022.pdf
Best Practices with Apex in 2022.pdf
 
Apex Trigger in Salesforce
Apex Trigger in SalesforceApex Trigger in Salesforce
Apex Trigger in Salesforce
 
Integration using Salesforce Canvas
Integration using Salesforce CanvasIntegration using Salesforce Canvas
Integration using Salesforce Canvas
 
Introducing the Salesforce platform
Introducing the Salesforce platformIntroducing the Salesforce platform
Introducing the Salesforce platform
 
Best Practices for Team Development in a Single Org
Best Practices for Team Development in a Single OrgBest Practices for Team Development in a Single Org
Best Practices for Team Development in a Single Org
 
Introduction to Apex for Developers
Introduction to Apex for DevelopersIntroduction to Apex for Developers
Introduction to Apex for Developers
 
Intro to Force.com Canvas: Running External Apps within the Salesforce UI Web...
Intro to Force.com Canvas: Running External Apps within the Salesforce UI Web...Intro to Force.com Canvas: Running External Apps within the Salesforce UI Web...
Intro to Force.com Canvas: Running External Apps within the Salesforce UI Web...
 
Seamless Authentication with Force.com Canvas
Seamless Authentication with Force.com CanvasSeamless Authentication with Force.com Canvas
Seamless Authentication with Force.com Canvas
 

Andere mochten auch

Andere mochten auch (6)

Integration patterns and practices for cloud and mobile computing
Integration patterns and practices for cloud and mobile computingIntegration patterns and practices for cloud and mobile computing
Integration patterns and practices for cloud and mobile computing
 
The Importance of Integration to Salesforce Success
The Importance of Integration to Salesforce SuccessThe Importance of Integration to Salesforce Success
The Importance of Integration to Salesforce Success
 
Salesforce asynchronous apex
Salesforce asynchronous apexSalesforce asynchronous apex
Salesforce asynchronous apex
 
Asynchronous Apex Salesforce World Tour Paris 2015
Asynchronous Apex Salesforce World Tour Paris 2015Asynchronous Apex Salesforce World Tour Paris 2015
Asynchronous Apex Salesforce World Tour Paris 2015
 
Salesforce Mobile architecture introduction
Salesforce Mobile architecture introductionSalesforce Mobile architecture introduction
Salesforce Mobile architecture introduction
 
Advanced Apex Development - Asynchronous Processes
Advanced Apex Development - Asynchronous ProcessesAdvanced Apex Development - Asynchronous Processes
Advanced Apex Development - Asynchronous Processes
 

Ähnlich wie Enterprise Integration - Solution Patterns From the Field

Pardot Story: Beyond List Email
Pardot Story: Beyond List EmailPardot Story: Beyond List Email
Pardot Story: Beyond List Email
Pardot
 
Tips & Tricks for Building Advanced Workflow
Tips & Tricks for Building Advanced WorkflowTips & Tricks for Building Advanced Workflow
Tips & Tricks for Building Advanced Workflow
dreamforce2006
 
Around the World in 100 Days a Global Deployment Case Study
Around the World in 100 Days a Global Deployment Case StudyAround the World in 100 Days a Global Deployment Case Study
Around the World in 100 Days a Global Deployment Case Study
dreamforce2006
 
Best Practices for Integrating with Your ERP
Best Practices for Integrating with Your ERPBest Practices for Integrating with Your ERP
Best Practices for Integrating with Your ERP
dreamforce2006
 
Integrating Salesforce and QuickBooks
Integrating Salesforce and QuickBooksIntegrating Salesforce and QuickBooks
Integrating Salesforce and QuickBooks
dreamforce2006
 

Ähnlich wie Enterprise Integration - Solution Patterns From the Field (20)

Introduction to Apex Triggers
Introduction to Apex TriggersIntroduction to Apex Triggers
Introduction to Apex Triggers
 
Introduction to Force.com
Introduction to Force.comIntroduction to Force.com
Introduction to Force.com
 
Architecting in the Cloud: Choosing the Right Technologies for your Solution
Architecting in the Cloud: Choosing the Right Technologies for your SolutionArchitecting in the Cloud: Choosing the Right Technologies for your Solution
Architecting in the Cloud: Choosing the Right Technologies for your Solution
 
Pardot Story: Beyond List Email
Pardot Story: Beyond List EmailPardot Story: Beyond List Email
Pardot Story: Beyond List Email
 
Singapore dg salesforce einstein + spring 17 release by manish
Singapore dg   salesforce einstein + spring 17 release by manishSingapore dg   salesforce einstein + spring 17 release by manish
Singapore dg salesforce einstein + spring 17 release by manish
 
Tips & Tricks for Building Advanced Workflow
Tips & Tricks for Building Advanced WorkflowTips & Tricks for Building Advanced Workflow
Tips & Tricks for Building Advanced Workflow
 
Event Driven Integrations
Event Driven IntegrationsEvent Driven Integrations
Event Driven Integrations
 
Just-In-Time Sharing Using Apex
Just-In-Time Sharing Using ApexJust-In-Time Sharing Using Apex
Just-In-Time Sharing Using Apex
 
Building Mobile Apps That Deliver Salesforce to Your Employees
Building Mobile Apps That Deliver Salesforce to Your EmployeesBuilding Mobile Apps That Deliver Salesforce to Your Employees
Building Mobile Apps That Deliver Salesforce to Your Employees
 
Aen001 Tate 091707
Aen001 Tate 091707Aen001 Tate 091707
Aen001 Tate 091707
 
Cutting Edge Mobile Development in the App Cloud
Cutting Edge Mobile Development in the App CloudCutting Edge Mobile Development in the App Cloud
Cutting Edge Mobile Development in the App Cloud
 
Five Developer Tips Every Admin Needs To Know
Five Developer Tips Every Admin Needs To KnowFive Developer Tips Every Admin Needs To Know
Five Developer Tips Every Admin Needs To Know
 
Apex Nuances: Transitioning to Force.com Development
Apex Nuances: Transitioning to Force.com DevelopmentApex Nuances: Transitioning to Force.com Development
Apex Nuances: Transitioning to Force.com Development
 
Developing Interactive Tables and Charts in Visualforce
Developing Interactive Tables and Charts in VisualforceDeveloping Interactive Tables and Charts in Visualforce
Developing Interactive Tables and Charts in Visualforce
 
Demystifying Code for Admins: The Last Step to Apex
Demystifying Code for Admins: The Last Step to ApexDemystifying Code for Admins: The Last Step to Apex
Demystifying Code for Admins: The Last Step to Apex
 
Around the World in 100 Days a Global Deployment Case Study
Around the World in 100 Days a Global Deployment Case StudyAround the World in 100 Days a Global Deployment Case Study
Around the World in 100 Days a Global Deployment Case Study
 
Decluttering your Salesfroce org
Decluttering your Salesfroce orgDecluttering your Salesfroce org
Decluttering your Salesfroce org
 
Maximize Apex Performance with Platform Cache
Maximize Apex Performance with Platform CacheMaximize Apex Performance with Platform Cache
Maximize Apex Performance with Platform Cache
 
Best Practices for Integrating with Your ERP
Best Practices for Integrating with Your ERPBest Practices for Integrating with Your ERP
Best Practices for Integrating with Your ERP
 
Integrating Salesforce and QuickBooks
Integrating Salesforce and QuickBooksIntegrating Salesforce and QuickBooks
Integrating Salesforce and QuickBooks
 

Mehr von Salesforce Developers

Mehr von Salesforce Developers (20)

Sample Gallery: Reference Code and Best Practices for Salesforce Developers
Sample Gallery: Reference Code and Best Practices for Salesforce DevelopersSample Gallery: Reference Code and Best Practices for Salesforce Developers
Sample Gallery: Reference Code and Best Practices for Salesforce Developers
 
Maximizing Salesforce Lightning Experience and Lightning Component Performance
Maximizing Salesforce Lightning Experience and Lightning Component PerformanceMaximizing Salesforce Lightning Experience and Lightning Component Performance
Maximizing Salesforce Lightning Experience and Lightning Component Performance
 
Local development with Open Source Base Components
Local development with Open Source Base ComponentsLocal development with Open Source Base Components
Local development with Open Source Base Components
 
TrailheaDX India : Developer Highlights
TrailheaDX India : Developer HighlightsTrailheaDX India : Developer Highlights
TrailheaDX India : Developer Highlights
 
Why developers shouldn’t miss TrailheaDX India
Why developers shouldn’t miss TrailheaDX IndiaWhy developers shouldn’t miss TrailheaDX India
Why developers shouldn’t miss TrailheaDX India
 
CodeLive: Build Lightning Web Components faster with Local Development
CodeLive: Build Lightning Web Components faster with Local DevelopmentCodeLive: Build Lightning Web Components faster with Local Development
CodeLive: Build Lightning Web Components faster with Local Development
 
CodeLive: Converting Aura Components to Lightning Web Components
CodeLive: Converting Aura Components to Lightning Web ComponentsCodeLive: Converting Aura Components to Lightning Web Components
CodeLive: Converting Aura Components to Lightning Web Components
 
Enterprise-grade UI with open source Lightning Web Components
Enterprise-grade UI with open source Lightning Web ComponentsEnterprise-grade UI with open source Lightning Web Components
Enterprise-grade UI with open source Lightning Web Components
 
TrailheaDX and Summer '19: Developer Highlights
TrailheaDX and Summer '19: Developer HighlightsTrailheaDX and Summer '19: Developer Highlights
TrailheaDX and Summer '19: Developer Highlights
 
Live coding with LWC
Live coding with LWCLive coding with LWC
Live coding with LWC
 
Lightning web components - Episode 4 : Security and Testing
Lightning web components  - Episode 4 : Security and TestingLightning web components  - Episode 4 : Security and Testing
Lightning web components - Episode 4 : Security and Testing
 
LWC Episode 3- Component Communication and Aura Interoperability
LWC Episode 3- Component Communication and Aura InteroperabilityLWC Episode 3- Component Communication and Aura Interoperability
LWC Episode 3- Component Communication and Aura Interoperability
 
Lightning web components episode 2- work with salesforce data
Lightning web components   episode 2- work with salesforce dataLightning web components   episode 2- work with salesforce data
Lightning web components episode 2- work with salesforce data
 
Lightning web components - Episode 1 - An Introduction
Lightning web components - Episode 1 - An IntroductionLightning web components - Episode 1 - An Introduction
Lightning web components - Episode 1 - An Introduction
 
Migrating CPQ to Advanced Calculator and JSQCP
Migrating CPQ to Advanced Calculator and JSQCPMigrating CPQ to Advanced Calculator and JSQCP
Migrating CPQ to Advanced Calculator and JSQCP
 
Scale with Large Data Volumes and Big Objects in Salesforce
Scale with Large Data Volumes and Big Objects in SalesforceScale with Large Data Volumes and Big Objects in Salesforce
Scale with Large Data Volumes and Big Objects in Salesforce
 
Replicate Salesforce Data in Real Time with Change Data Capture
Replicate Salesforce Data in Real Time with Change Data CaptureReplicate Salesforce Data in Real Time with Change Data Capture
Replicate Salesforce Data in Real Time with Change Data Capture
 
Modern Development with Salesforce DX
Modern Development with Salesforce DXModern Development with Salesforce DX
Modern Development with Salesforce DX
 
Get Into Lightning Flow Development
Get Into Lightning Flow DevelopmentGet Into Lightning Flow Development
Get Into Lightning Flow Development
 
Integrate CMS Content Into Lightning Communities with CMS Connect
Integrate CMS Content Into Lightning Communities with CMS ConnectIntegrate CMS Content Into Lightning Communities with CMS Connect
Integrate CMS Content Into Lightning Communities with CMS Connect
 

Kürzlich hochgeladen

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Kürzlich hochgeladen (20)

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 

Enterprise Integration - Solution Patterns From the Field

  • 2. Safe Harbor Safe harbor statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services. The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of any litigation, risks associated with completed and any possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most recent fiscal quarter. These documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site. Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
  • 3. Ammar Alamar Director – Salesforce Services, Australia
  • 5. Agenda ▪ Review integration patterns & Salesforce capabilities ▪ Use Case ▪ The notify with callback pattern ▪ Integration assessment criteria ▪ Alternatives ▪ Handling errors ▪ Q&A | References
  • 6.
  • 7. Integration Patterns ▪ Synchronous ▪ Asynchronous ▪ Notify with callback (fire & forget) ▪ Batch data replication Apex Callout Outbound Messaging / Apex Callout ** Today’s Pattern ** ▪ Publish & Subscribe Salesforce APIs (REST | SOAP) ▪ Polling Streaming API Salesforce APIs (REST | SOAP) ▪ Integration Patterns and Best Practice http://www.salesforce. com/us/developer/docs/integration_patterns/integration_patterns_and _practices.pdf (page 18-23)
  • 8. What Are We Solving For?
  • 9. Integration Assessment Criteria We are looking to solve with the following criteria in mind: ▪ Secure ▪ Bulkified ▪ Extensible ▪ Mobile friendly ▪ Maintainable ▪ Transaction Integrity ▪ Guaranteed message delivery ▪ Reports and monitoring
  • 10. Notify / Callback Pattern Middleware Salesforce.com Workflow Rule Outbound Message Remote Listener Queue / Orchestrate Remote System WF Action Outbound Message Send Outbound Message (Notify) Acknowledge Web Service API Queue Ack Retrieve data Invoke
  • 11. Process Lifecycle 8 Sales P.O. in ERP 7 Fulfillment (Create & 6 Fulfill P.O. complete. 5 Populate External query data 4 Approval / processID update) 3 CreateRep Back office task(s) 2 – Acknowledge and an Opportunity 1 closes Another transaction order a A created purchase messageasis needs An optional tasks If Salesforcerequires a soft Back retrieved fromSalesforcethat action to the Datafulfillment system hasinitiatessent to thebefires. The outbound messagesuchsimpleprocess that office step. occur is internal notify. Outbound Message (configured approval via workflow) sent system requires and retrieve to the a required fulfillmentcreation Purchase 24hr foreign key the ofprovidescreated process, to run. ERP the Salesforce etcfor ERP to bothreference and data OrderP.O. the CallbackSalesforceThis needs to be delivery OBM in system. transactional with the system transaction from Salesforce. update in guarantee. Salesforce. 4 3 Cloud Gateway 1 2 5 Web Service APIs 8 5 ERP 6 8 Transaction A 6 6 Transaction B 8 7 Fulfilment
  • 12. End To End Solution - Security Cloud Gateway ERP Web Service APIs Transaction A Transaction B Fulfilment
  • 13. End To End Solution
  • 14. Assessment Against Criteria Criterion Assessment Secure ✓ Network, Transport and Application level security. Dual firewall DMZ. Web Service Gateway Maintainable ✓ Salesforce: Clicks not code Cloud Gateway: Yes (product dependent) Guaranteed Delivery ✓ First Mile: Outbound Messaging End to end: Middleware / Cloud Gateway Bulkified ✓ Outbound Message: 100 records per message Mobile Friendly ✓ Asynch outbound message. Not tied to UI. Transaction Integrity ✓ Callback by cloud gateway. Message ID filtering. Reports and Monitoring ✓ End to end: Via Middleware First Mile: Salesforce Outbound Messaging Extensible
  • 15. Alternatives Apex Callout via @Future contexts ▪ Code (extensibility & maintainability) ▪ Governor limits (10 @Future x 10 Callouts each) ▪ No retry mechanism ▪ No reporting for first-mile delivery Visualforce Apex Callout (Asynchronous) ▪ Code ▪ No retry (especially when user navigates away) ▪ No reporting for first-mile delivery
  • 16. Options Analysis Criterion Outbound Message Apex Callout (VF) Apex Callout (@Future) ✓ ✓ ✓ ✓ X X Guaranteed Delivery ✓ X X Bulkified ✓ X ✓ with limits Mobile Friendly ✓ X ✓ Transaction Integrity ✓ ✓ ✓ assuming a callback Reports and Monitoring ✓ X X Secure Extensible Maintainable
  • 17. When good things go bad… What happens when there are functional / validation errors ▪ Asynchronous messages do not give users feedback ▪ Users will need feedback as to the current status • E.g In Queue, Sent, In Error etc ▪ Operations / Support team needs access to proactively investigate and quantify errors.
  • 18. Integration Control Fields ▪ Each object / record sent to the master system has 3 fields ▪ Integration Action (Add, Modify, Delete) ▪ Integration Status (Sent, Complete, Error) ▪ Integration Error Code ▪ A workflow rule fires and sends an outbound message when the integration action is set to ‘Sent’
  • 19. Notification Centre When the integration status stays at ‘Sent’ for > 90 seconds When the integration for parent or child record is set to ‘Error’ then rollup error to Customer Notifications centre is also used for Business Rules and Manual entries
  • 20. Where To Get More • Download and review the Salesforce.com Integration Patterns and Best Practice paper http://bit.ly/1aMHrVC Visit the integration page on wiki.developerforce.com http://wiki.developerforce.com/page/Integration • Create a developer account https://events.developerforce.com/signup • Use the Integration CookBook http://developer.force.com/cookbook/category/integration/
  • 21. Ammar Alamar Troy Sellers Director – Salesforce Services, Australia Platform Architect – APAC @ibigfoot7
  • 22. We want to hear from YOU! Please take a moment to complete our session survey Surveys can be found in the “My Agenda” portion of the Dreamforce app