Your SlideShare is downloading. ×
0
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 peopl...
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 ...
HOW IS BAM DIFFERENT?
▪ What we want to see != What our users want to see
▪ Developers & Administrators want to see:
▪ Sus...
WHAT DO USERS REALLY WANT TO SEE?
▪ How many orders have I
▪ Received
▪ Invoiced
▪ Shipped
▪ What is the total value of or...
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
F...
MAKING BAM IN 3 STEPS
▪ Create Activity in Excel
▪ Create View in Excel
▪ Binding to solution in TPE
2
View
1
Activity
3
T...
WHAT DATA WE WANT TO SEE
▪ Business Data
▪ Order Total
▪ Buyer Postal Code
▪ PO Reference
▪ Invoice #
▪ Shipping #
▪ Miles...
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 i...
CREATINGVIEWS
CREATINGVIEWS
CREATINGVIEWS
DEPLOYING THE TRACKING PROFILE
▪ bm.exe - located in [BizTalk Install]Tracking
▪ Do yourself a favor, add this to your pat...
BINDING TO OUR SOLUTION – 2 WAYS
TPE API
ALWAYS USE THE TPE
▪ The TPE binds to multiple points:
▪ Orchestration
▪ Message Content
▪ Message Context
▪ Messaging Pro...
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.e...
INSPECTINGTHERESULTS
CREATINGALERTS
MESSINGWITHTORD
HOW DOES THIS
MAGIC WORK?
BAM INFRASTRUCTURE
▪ Databases
▪ Tables / Views
▪ SSIS
▪ TDDS (BAM Event Bus Service)
MessageBox BAMPrimaryImport BAMArchi...
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 mont...
BAM PRIMARY IMPORT CHANGES
USE [BAMPrimaryImport]
GO
/****** Object: View [dbo].[bam_SingleOrderView_CompletedInstances] S...
TDDS - BAM EVENT BUS SERVICE
You really don’t want to know!
No, really
IF you really feel the need check out the tables th...
CONCLUSION
▪ Always create BAM for your solutions
▪ Create views for each set of users (operations, sales, management)
▪ C...
QUESTIONS
TO IMPRESS THE BOSSONE LAST THING…
REAL WORLD BAM
@DanRosanova
Senior Architect
West Monroe Partners
http://danrosanova.wordpress.com/rwb
BizTalk Business Activity Monitoring Real World BAM
Upcoming SlideShare
Loading in...5
×

BizTalk Business Activity Monitoring Real World BAM

795

Published on

BizTalk Business Activity Monitoring is probably the most powerful feature in the BizTalk solution stack and it is also the least utilized. In concept BAM offers us the ability to offer visibility, audit, tracking, and alerts all without changing our solutions or writing custom code. The reality is BAM has a learning curve that requires both understanding the implementation details and rethinking your approach to integration solutions to focus on business process / flow rather than technical integration. This session will walk through an advanced real world BAM implementation in the EDI space (purchase order, invoice, ship notice) focusing on a diverse but related series of steps in a long running business process to create a true business level view of several disparate integrations. Features covered will include creating tracking activities and views, progress and dimensions, continuations etc BizTalk Bam Step by Step is Explained.

BizTalk Summit 2014, London March 03-04

Brought to you by BizTalk360

Published in: Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
795
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
29
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • 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?
  • Transcript of "BizTalk Business Activity Monitoring Real World BAM "

    1. 1. REAL WORLD BAM @DanRosanova West Monroe Partners brought to you by
    2. 2. WE DON’T ALWAYS KNOW WHAT WE DON’T KNOW
    3. 3. 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!
    4. 4. OUR BRAINS ARE VISUAL PROCESSORS 42 85 0 10 20 30 40 50 60 70 80 90 % Recognition Recognition of concept Picture Text
    5. 5. 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
    6. 6. 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:
    7. 7. 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?
    8. 8. WE ARE IN THE BUSINESS OF TECHNOLOGY OUR USERS ARE IN THE BUSINESS OF BUSINESS
    9. 9. TYPICAL ORDER PROCESSING FLOW Customer ERP2 - Invoice 3 - Ship Notice 1 - Purchase Order
    10. 10. THAT WHICH CANNOT BE MEASURED CANNOT BE MANAGED W. EDWARDS DEMING
    11. 11. 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
    12. 12. 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
    13. 13. 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
    14. 14. CREATINGACTIVITIES
    15. 15. 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?
    16. 16. CREATINGVIEWS
    17. 17. CREATINGVIEWS
    18. 18. CREATINGVIEWS
    19. 19. 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
    20. 20. BINDING TO OUR SOLUTION – 2 WAYS TPE API
    21. 21. 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*
    22. 22. BINDINGTHEACTIVITY
    23. 23. CONTINUATIONS
    24. 24. DEPLOYING THE TRACKING PROFILE ▪ bttdeploy [Name of .btt file]
    25. 25. 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
    26. 26. INSPECTINGTHERESULTS
    27. 27. CREATINGALERTS
    28. 28. MESSINGWITHTORD
    29. 29. HOW DOES THIS MAGIC WORK?
    30. 30. BAM INFRASTRUCTURE ▪ Databases ▪ Tables / Views ▪ SSIS ▪ TDDS (BAM Event Bus Service) MessageBox BAMPrimaryImport BAMArchive BAMStarSchema BAMAnalysis TDDS SSIS
    31. 31. BAM TABLES & VIEWS ▪ BAM Creates Tables NEVER USE THEM ▪ BAM Create Views
    32. 32. BAM SSIS PACKAGES ▪ BAM_DM_[ViewName] ▪ Data Management / archiving ▪ BAM_AN_[ViewName] ▪ Processes the cube
    33. 33. 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
    34. 34. 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
    35. 35. 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!
    36. 36. 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
    37. 37. QUESTIONS
    38. 38. TO IMPRESS THE BOSSONE LAST THING…
    39. 39. REAL WORLD BAM @DanRosanova Senior Architect West Monroe Partners http://danrosanova.wordpress.com/rwb
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×