SlideShare una empresa de Scribd logo
1 de 40
REAL WORLD BAM
@DanRosanova
West Monroe Partners
brought to you by
WE DON’T ALWAYS
KNOW WHAT WE
DON’T KNOW
WHAT IS WRONG WITH BIZTALK
SOLUTIONS?
▪ Lack of visibility
▪ People only care about what they can see
▪ Are business people “impressed” by Integration?
▪ They love apps and websites!
OUR BRAINS ARE VISUAL PROCESSORS
42
85
0 10 20 30 40 50 60 70 80 90
% Recognition
Recognition of concept
Picture Text
BAM IS THE VIEW YOUR USERS NEED…
SO WHAT IS BAM?
▪ BAM is tracking
▪ BAM is aggregation and analytics (BUZZWORD)
▪ BAM is dynamic alerting
▪ BAM is scalable infrastructure
▪ BAM is code free – if you do it right
▪ BAM is a self service portal
HOW IS BAM DIFFERENT?
▪ What we want to see != What our users want to see
▪ Developers & Administrators want to see:
▪ Suspended messages
▪ Errors
▪ Health
▪ Message Box throughput / latency
▪ We already have the perfect tool for this:
WHAT DO USERS REALLY WANT TO SEE?
▪ How many orders have I
▪ Received
▪ Invoiced
▪ Shipped
▪ What is the total value of orders this week / month / year?
▪ How long is it taking us to fulfill orders?
▪ Where in the process are _____’s orders and what can I tell them when
they call and yell at me?
▪ How can I make my business more lean and profitable?
WE ARE IN THE
BUSINESS OF
TECHNOLOGY
OUR USERS ARE
IN THE BUSINESS
OF BUSINESS
TYPICAL ORDER PROCESSING FLOW
Customer ERP2 - Invoice
3 - Ship Notice
1 - Purchase Order
THAT WHICH
CANNOT BE
MEASURED
CANNOT BE
MANAGED
W. EDWARDS DEMING
EXAMINING THE SOLUTION
Web Receive 1
Purchase Order
Web Receive 2
ERP Invoice,
ASN
Web Send 1
ERP PO
File Send 1
Invoice
File Send 2
ASN
Customers
MAKING BAM IN 3 STEPS
▪ Create Activity in Excel
▪ Create View in Excel
▪ Binding to solution in TPE
2
View
1
Activity
3
Tracking Profile
WHAT DATA WE WANT TO SEE
▪ Business Data
▪ Order Total
▪ Buyer Postal Code
▪ PO Reference
▪ Invoice #
▪ Shipping #
▪ Milestones
▪ Order Received
▪ Sent to ERP
▪ Invoice Generated
▪ Invoice Delivered
▪ Ship Notice Generated
▪ Ship Notice Delivered
CREATINGACTIVITIES
WHAT DO WE WANT IN OUR VIEW?
▪ What is the Status of an order?
▪ How long does an order take?
▪ How long does it take to invoice?
▪ What is my order count?
▪ What is my max / min fulfillment time?
CREATINGVIEWS
CREATINGVIEWS
CREATINGVIEWS
DEPLOYING THE TRACKING PROFILE
▪ bm.exe - located in [BizTalk Install]Tracking
▪ Do yourself a favor, add this to your path or use BAM GUI
▪ bm deploy-all –defininitionFile:SingleActTracking.xlsx
BINDING TO OUR SOLUTION – 2 WAYS
TPE API
ALWAYS USE THE TPE
▪ The TPE binds to multiple points:
▪ Orchestration
▪ Message Content
▪ Message Context
▪ Messaging Properties
▪ TPE is the sandbox / safe room
▪ TPE can bind to many sources and ports concurrently
▪ TPE allows adding / changing BAM without solution changes*
BINDINGTHEACTIVITY
CONTINUATIONS
DEPLOYING THE TRACKING PROFILE
▪ bttdeploy [Name of .btt file]
RUNNING THE MOCKS – 3 EASY STEPS
1. [Solution Root]ERPMockbindebugERPMock.exe
2. [Solution Root]LoadMockbindebugLoadMock.exe
3. Look at the BAM Portal
4. Look at the aggregations
5. From Developer Command Prompt:
dtexec /sql BAM_AN_SingleOrderView
6. Look at the aggregations again
INSPECTINGTHERESULTS
CREATINGALERTS
MESSINGWITHTORD
HOW DOES THIS
MAGIC WORK?
BAM INFRASTRUCTURE
▪ Databases
▪ Tables / Views
▪ SSIS
▪ TDDS (BAM Event Bus Service)
MessageBox BAMPrimaryImport BAMArchive
BAMStarSchema
BAMAnalysis
TDDS
SSIS
BAM TABLES & VIEWS
▪ BAM Creates Tables
NEVER USE THEM
▪ BAM Create Views
BAM SSIS PACKAGES
▪ BAM_DM_[ViewName]
▪ Data Management / archiving
▪ BAM_AN_[ViewName]
▪ Processes the cube
BAM DATA MAINTENANCE
▪ Every time this job runs it partitions tables
▪ Think about when you want it to run
▪ Normally monthly
▪ Partitions age based on BizTalk settings
▪ The entire completed partition archives
▪ 6 month default time
▪ bm get-activitywindow –Activity:SingleOrderView
Table
Table
Table_GUID
Table_GUID
View
UNION
BAM PRIMARY IMPORT CHANGES
USE [BAMPrimaryImport]
GO
/****** Object: View [dbo].[bam_SingleOrderView_CompletedInstances] Script
Date: 3/3/2014 4:10:18 AM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE VIEW [dbo].[bam_SingleOrderView_CompletedInstances] AS SELECT * FROM
dbo.[bam_SingleOrderView_Completed] WITH (NOLOCK) UNION ALL SELECT * FROM
[dbo].[bam_SingleOrderView_C52EE3A6_6C6E_4E47_AF7F_214B9D454BC7] WITH (NOLOCK)
GO
TDDS - BAM EVENT BUS SERVICE
You really don’t want to know!
No, really
IF you really feel the need check out the tables that start with “Tracking”
in the BizTalkMsgBoxDb
And the “TDDS_” tables in BAMPrimaryImport
You have been warned!
CONCLUSION
▪ Always create BAM for your solutions
▪ Create views for each set of users (operations, sales, management)
▪ Create / Schedule BAM jobs (AN / DM)
▪ Teach your users to use BAM effectively
▪ Use BAM views from a custom portal / tool – like Excel
▪ Change the CSS for the portal to not look so 2004
QUESTIONS
TO IMPRESS THE BOSSONE LAST THING…
REAL WORLD BAM
@DanRosanova
Senior Architect
West Monroe Partners
http://danrosanova.wordpress.com/rwb

Más contenido relacionado

Similar a BizTalk Business Activity Monitoring Real World BAM

2-1 Remember the Help Desk with AFCU - Jared Flanders, Final
2-1 Remember the Help Desk with AFCU - Jared Flanders, Final2-1 Remember the Help Desk with AFCU - Jared Flanders, Final
2-1 Remember the Help Desk with AFCU - Jared Flanders, Final
Jared Flanders
 

Similar a BizTalk Business Activity Monitoring Real World BAM (20)

Fidobe Solutions LLC | QuickBooks Training Day 1
Fidobe Solutions LLC | QuickBooks Training Day 1Fidobe Solutions LLC | QuickBooks Training Day 1
Fidobe Solutions LLC | QuickBooks Training Day 1
 
SharePoint Performance Monitoring with Sean P. McDonough
SharePoint Performance Monitoring with Sean P. McDonoughSharePoint Performance Monitoring with Sean P. McDonough
SharePoint Performance Monitoring with Sean P. McDonough
 
How Spyder Trap Transformed Its Business with QuickBase Sync
How Spyder Trap Transformed Its Business with QuickBase SyncHow Spyder Trap Transformed Its Business with QuickBase Sync
How Spyder Trap Transformed Its Business with QuickBase Sync
 
vOffice365 - April 2017 - The Cloud Disruption Story - Sean Wallbridge
vOffice365 - April 2017 - The Cloud Disruption Story - Sean WallbridgevOffice365 - April 2017 - The Cloud Disruption Story - Sean Wallbridge
vOffice365 - April 2017 - The Cloud Disruption Story - Sean Wallbridge
 
CRM for Finance, SFA, Customer Care, and Process Management
CRM for Finance, SFA, Customer Care, and Process ManagementCRM for Finance, SFA, Customer Care, and Process Management
CRM for Finance, SFA, Customer Care, and Process Management
 
Introduction to Google Analytics
Introduction to Google AnalyticsIntroduction to Google Analytics
Introduction to Google Analytics
 
The KPIs High-Growth Beverage Distributors Measure (And How to Actually Track...
The KPIs High-Growth Beverage Distributors Measure (And How to Actually Track...The KPIs High-Growth Beverage Distributors Measure (And How to Actually Track...
The KPIs High-Growth Beverage Distributors Measure (And How to Actually Track...
 
Ecommerce Marketing & Optimization Workshop
Ecommerce Marketing & Optimization WorkshopEcommerce Marketing & Optimization Workshop
Ecommerce Marketing & Optimization Workshop
 
Growing Your Business Quickly and Predictably with Growth Suite - Erin Olson
Growing Your Business Quickly and Predictably with Growth Suite - Erin OlsonGrowing Your Business Quickly and Predictably with Growth Suite - Erin Olson
Growing Your Business Quickly and Predictably with Growth Suite - Erin Olson
 
Tips for big site SEO - Andrew Smith - SearchNorwich 9
Tips for big site SEO - Andrew Smith - SearchNorwich 9Tips for big site SEO - Andrew Smith - SearchNorwich 9
Tips for big site SEO - Andrew Smith - SearchNorwich 9
 
The End of Data Entry: Liberate Your Organization Through Automation and Inte...
The End of Data Entry: Liberate Your Organization Through Automation and Inte...The End of Data Entry: Liberate Your Organization Through Automation and Inte...
The End of Data Entry: Liberate Your Organization Through Automation and Inte...
 
Using Wave Accounting for Small Businesses (Webinar)
Using Wave Accounting for Small Businesses (Webinar)Using Wave Accounting for Small Businesses (Webinar)
Using Wave Accounting for Small Businesses (Webinar)
 
WSO2 Workshop Sydney 2016 - Analytics
WSO2 Workshop Sydney 2016 -  AnalyticsWSO2 Workshop Sydney 2016 -  Analytics
WSO2 Workshop Sydney 2016 - Analytics
 
2-1 Remember the Help Desk with AFCU - Jared Flanders, Final
2-1 Remember the Help Desk with AFCU - Jared Flanders, Final2-1 Remember the Help Desk with AFCU - Jared Flanders, Final
2-1 Remember the Help Desk with AFCU - Jared Flanders, Final
 
How Financial Institutions Must Enforce DevOps Organizational Policy
How Financial Institutions Must Enforce DevOps Organizational PolicyHow Financial Institutions Must Enforce DevOps Organizational Policy
How Financial Institutions Must Enforce DevOps Organizational Policy
 
QuickBooks 2009 MAC (New design, New Features, Awesome product)
QuickBooks 2009 MAC (New design, New Features, Awesome product)QuickBooks 2009 MAC (New design, New Features, Awesome product)
QuickBooks 2009 MAC (New design, New Features, Awesome product)
 
Use Google Docs to monitor SEO by pulling in Google Analytics #BrightonSEO
Use Google Docs to monitor SEO by pulling in Google Analytics #BrightonSEOUse Google Docs to monitor SEO by pulling in Google Analytics #BrightonSEO
Use Google Docs to monitor SEO by pulling in Google Analytics #BrightonSEO
 
Seven Tips for Collaborative Success
Seven Tips for Collaborative SuccessSeven Tips for Collaborative Success
Seven Tips for Collaborative Success
 
Transform your Entire Customer Life Cycle, at Enterprise Scale by Marc Aubin ...
Transform your Entire Customer Life Cycle, at Enterprise Scale by Marc Aubin ...Transform your Entire Customer Life Cycle, at Enterprise Scale by Marc Aubin ...
Transform your Entire Customer Life Cycle, at Enterprise Scale by Marc Aubin ...
 
Jax, FL Admin Group Presents: Accounting Seed Overview & Pardot vs Marketing ...
Jax, FL Admin Group Presents: Accounting Seed Overview & Pardot vs Marketing ...Jax, FL Admin Group Presents: Accounting Seed Overview & Pardot vs Marketing ...
Jax, FL Admin Group Presents: Accounting Seed Overview & Pardot vs Marketing ...
 

Más de BizTalk360

Más de BizTalk360 (20)

Optimise Business Activity Tracking – Insights from Smurfit Kappa
Optimise Business Activity Tracking – Insights from Smurfit KappaOptimise Business Activity Tracking – Insights from Smurfit Kappa
Optimise Business Activity Tracking – Insights from Smurfit Kappa
 
Optimise Business Activity Tracking – Insights from Smurfit Kappa
Optimise Business Activity Tracking – Insights from Smurfit KappaOptimise Business Activity Tracking – Insights from Smurfit Kappa
Optimise Business Activity Tracking – Insights from Smurfit Kappa
 
What's inside "migrating to biz talk server 2020" Book (BizTalk360 Webinar)
What's inside "migrating to biz talk server 2020" Book (BizTalk360 Webinar)What's inside "migrating to biz talk server 2020" Book (BizTalk360 Webinar)
What's inside "migrating to biz talk server 2020" Book (BizTalk360 Webinar)
 
Integration Monday - Logic Apps: Development Experiences
Integration Monday - Logic Apps: Development ExperiencesIntegration Monday - Logic Apps: Development Experiences
Integration Monday - Logic Apps: Development Experiences
 
Integration Monday - BizTalk Migrator Deep Dive
Integration Monday - BizTalk Migrator Deep DiveIntegration Monday - BizTalk Migrator Deep Dive
Integration Monday - BizTalk Migrator Deep Dive
 
Testing for Logic App Solutions | Integration Monday
Testing for Logic App Solutions | Integration MondayTesting for Logic App Solutions | Integration Monday
Testing for Logic App Solutions | Integration Monday
 
No-Slides
No-SlidesNo-Slides
No-Slides
 
System Integration using Reactive Programming | Integration Monday
System Integration using Reactive Programming | Integration MondaySystem Integration using Reactive Programming | Integration Monday
System Integration using Reactive Programming | Integration Monday
 
Building workflow solution with Microsoft Azure and Cloud | Integration Monday
Building workflow solution with Microsoft Azure and Cloud | Integration MondayBuilding workflow solution with Microsoft Azure and Cloud | Integration Monday
Building workflow solution with Microsoft Azure and Cloud | Integration Monday
 
Serverless Minimalism: How to architect your apps to save 98% on your Azure b...
Serverless Minimalism: How to architect your apps to save 98% on your Azure b...Serverless Minimalism: How to architect your apps to save 98% on your Azure b...
Serverless Minimalism: How to architect your apps to save 98% on your Azure b...
 
Migrating BizTalk Solutions to Azure: Mapping Messages | Integration Monday
Migrating BizTalk Solutions to Azure: Mapping Messages | Integration MondayMigrating BizTalk Solutions to Azure: Mapping Messages | Integration Monday
Migrating BizTalk Solutions to Azure: Mapping Messages | Integration Monday
 
Integration-Monday-Infrastructure-As-Code-With-Terraform
Integration-Monday-Infrastructure-As-Code-With-TerraformIntegration-Monday-Infrastructure-As-Code-With-Terraform
Integration-Monday-Infrastructure-As-Code-With-Terraform
 
Integration-Monday-Stateful-Programming-Models-Serverless-Functions
Integration-Monday-Stateful-Programming-Models-Serverless-FunctionsIntegration-Monday-Stateful-Programming-Models-Serverless-Functions
Integration-Monday-Stateful-Programming-Models-Serverless-Functions
 
Integration-Monday-Serverless-Slackbots-with-Azure-Durable-Functions
Integration-Monday-Serverless-Slackbots-with-Azure-Durable-FunctionsIntegration-Monday-Serverless-Slackbots-with-Azure-Durable-Functions
Integration-Monday-Serverless-Slackbots-with-Azure-Durable-Functions
 
Integration-Monday-Building-Stateful-Workloads-Kubernetes
Integration-Monday-Building-Stateful-Workloads-KubernetesIntegration-Monday-Building-Stateful-Workloads-Kubernetes
Integration-Monday-Building-Stateful-Workloads-Kubernetes
 
Integration-Monday-Logic-Apps-Tips-Tricks
Integration-Monday-Logic-Apps-Tips-TricksIntegration-Monday-Logic-Apps-Tips-Tricks
Integration-Monday-Logic-Apps-Tips-Tricks
 
Integration-Monday-Terraform-Serverless
Integration-Monday-Terraform-ServerlessIntegration-Monday-Terraform-Serverless
Integration-Monday-Terraform-Serverless
 
Integration-Monday-Microsoft-Power-Platform
Integration-Monday-Microsoft-Power-PlatformIntegration-Monday-Microsoft-Power-Platform
Integration-Monday-Microsoft-Power-Platform
 
One name unify them all
One name unify them allOne name unify them all
One name unify them all
 
Securely Publishing Azure Services
Securely Publishing Azure ServicesSecurely Publishing Azure Services
Securely Publishing Azure Services
 

Último

Último (20)

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
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
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
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
 
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
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
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...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
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...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 

BizTalk Business Activity Monitoring Real World BAM

  • 1. REAL WORLD BAM @DanRosanova West Monroe Partners brought to you by
  • 2. WE DON’T ALWAYS KNOW WHAT WE DON’T KNOW
  • 3.
  • 4. WHAT IS WRONG WITH BIZTALK SOLUTIONS? ▪ Lack of visibility ▪ People only care about what they can see ▪ Are business people “impressed” by Integration? ▪ They love apps and websites!
  • 5. OUR BRAINS ARE VISUAL PROCESSORS 42 85 0 10 20 30 40 50 60 70 80 90 % Recognition Recognition of concept Picture Text
  • 6. BAM IS THE VIEW YOUR USERS NEED… SO WHAT IS BAM? ▪ BAM is tracking ▪ BAM is aggregation and analytics (BUZZWORD) ▪ BAM is dynamic alerting ▪ BAM is scalable infrastructure ▪ BAM is code free – if you do it right ▪ BAM is a self service portal
  • 7. HOW IS BAM DIFFERENT? ▪ What we want to see != What our users want to see ▪ Developers & Administrators want to see: ▪ Suspended messages ▪ Errors ▪ Health ▪ Message Box throughput / latency ▪ We already have the perfect tool for this:
  • 8. WHAT DO USERS REALLY WANT TO SEE? ▪ How many orders have I ▪ Received ▪ Invoiced ▪ Shipped ▪ What is the total value of orders this week / month / year? ▪ How long is it taking us to fulfill orders? ▪ Where in the process are _____’s orders and what can I tell them when they call and yell at me? ▪ How can I make my business more lean and profitable?
  • 9. WE ARE IN THE BUSINESS OF TECHNOLOGY OUR USERS ARE IN THE BUSINESS OF BUSINESS
  • 10. TYPICAL ORDER PROCESSING FLOW Customer ERP2 - Invoice 3 - Ship Notice 1 - Purchase Order
  • 11. THAT WHICH CANNOT BE MEASURED CANNOT BE MANAGED W. EDWARDS DEMING
  • 12. EXAMINING THE SOLUTION Web Receive 1 Purchase Order Web Receive 2 ERP Invoice, ASN Web Send 1 ERP PO File Send 1 Invoice File Send 2 ASN Customers
  • 13. MAKING BAM IN 3 STEPS ▪ Create Activity in Excel ▪ Create View in Excel ▪ Binding to solution in TPE 2 View 1 Activity 3 Tracking Profile
  • 14. WHAT DATA WE WANT TO SEE ▪ Business Data ▪ Order Total ▪ Buyer Postal Code ▪ PO Reference ▪ Invoice # ▪ Shipping # ▪ Milestones ▪ Order Received ▪ Sent to ERP ▪ Invoice Generated ▪ Invoice Delivered ▪ Ship Notice Generated ▪ Ship Notice Delivered
  • 16. WHAT DO WE WANT IN OUR VIEW? ▪ What is the Status of an order? ▪ How long does an order take? ▪ How long does it take to invoice? ▪ What is my order count? ▪ What is my max / min fulfillment time?
  • 20. DEPLOYING THE TRACKING PROFILE ▪ bm.exe - located in [BizTalk Install]Tracking ▪ Do yourself a favor, add this to your path or use BAM GUI ▪ bm deploy-all –defininitionFile:SingleActTracking.xlsx
  • 21. BINDING TO OUR SOLUTION – 2 WAYS TPE API
  • 22. ALWAYS USE THE TPE ▪ The TPE binds to multiple points: ▪ Orchestration ▪ Message Content ▪ Message Context ▪ Messaging Properties ▪ TPE is the sandbox / safe room ▪ TPE can bind to many sources and ports concurrently ▪ TPE allows adding / changing BAM without solution changes*
  • 25. DEPLOYING THE TRACKING PROFILE ▪ bttdeploy [Name of .btt file]
  • 26. RUNNING THE MOCKS – 3 EASY STEPS 1. [Solution Root]ERPMockbindebugERPMock.exe 2. [Solution Root]LoadMockbindebugLoadMock.exe 3. Look at the BAM Portal 4. Look at the aggregations 5. From Developer Command Prompt: dtexec /sql BAM_AN_SingleOrderView 6. Look at the aggregations again
  • 31. BAM INFRASTRUCTURE ▪ Databases ▪ Tables / Views ▪ SSIS ▪ TDDS (BAM Event Bus Service) MessageBox BAMPrimaryImport BAMArchive BAMStarSchema BAMAnalysis TDDS SSIS
  • 32. BAM TABLES & VIEWS ▪ BAM Creates Tables NEVER USE THEM ▪ BAM Create Views
  • 33. BAM SSIS PACKAGES ▪ BAM_DM_[ViewName] ▪ Data Management / archiving ▪ BAM_AN_[ViewName] ▪ Processes the cube
  • 34. BAM DATA MAINTENANCE ▪ Every time this job runs it partitions tables ▪ Think about when you want it to run ▪ Normally monthly ▪ Partitions age based on BizTalk settings ▪ The entire completed partition archives ▪ 6 month default time ▪ bm get-activitywindow –Activity:SingleOrderView Table Table Table_GUID Table_GUID View UNION
  • 35. BAM PRIMARY IMPORT CHANGES USE [BAMPrimaryImport] GO /****** Object: View [dbo].[bam_SingleOrderView_CompletedInstances] Script Date: 3/3/2014 4:10:18 AM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[bam_SingleOrderView_CompletedInstances] AS SELECT * FROM dbo.[bam_SingleOrderView_Completed] WITH (NOLOCK) UNION ALL SELECT * FROM [dbo].[bam_SingleOrderView_C52EE3A6_6C6E_4E47_AF7F_214B9D454BC7] WITH (NOLOCK) GO
  • 36. TDDS - BAM EVENT BUS SERVICE You really don’t want to know! No, really IF you really feel the need check out the tables that start with “Tracking” in the BizTalkMsgBoxDb And the “TDDS_” tables in BAMPrimaryImport You have been warned!
  • 37. CONCLUSION ▪ Always create BAM for your solutions ▪ Create views for each set of users (operations, sales, management) ▪ Create / Schedule BAM jobs (AN / DM) ▪ Teach your users to use BAM effectively ▪ Use BAM views from a custom portal / tool – like Excel ▪ Change the CSS for the portal to not look so 2004
  • 39. TO IMPRESS THE BOSSONE LAST THING…
  • 40. REAL WORLD BAM @DanRosanova Senior Architect West Monroe Partners http://danrosanova.wordpress.com/rwb

Notas del editor

  1. When was the last time a non-technical person looked at your BizTalk solution and was delighted? When was the last time that same person looked at some trivial report or web UI and thought it was the greatest thing in the world?