BizTalk Community Series: Introducing Torben Chrona Christiansen

The year 2013 promises to be a great year for us BizTalk professionals. BizTalk Server 2013 will be released in a few months, the beta is currently available on-premise and in Windows Azure. A few events have taken place already this month like the BizTalk Summits in London, Amsterdam and Stockholm. There will be more events coming this year. A lot of community involvement in 2013.

Today’s story

Service Bus Notification Hubs-Part 3 My Solution Overview

Service Bus Notification Hubs-Part 3 My Solution Overview

In my previous post I introduced the concept of Customer Power Outages and, at a high level, introduced  how Outage Management Systems work.  The key take away from that blog post is that important, event driven data is passing through BizTalk and there is an opportunity use this information to provide better Customer and Employee engagement through Service Bus Notification Hubs.  Think about, conceptually how different is it from BAM Alerts?  The idea behind BAM Alerts is data is moving through BizTalk, Tracking Profiles pick it up and send it to subscribers who are interested in it via email (oversimplifiedI know).  The process of collecting this information for Notification Hubs is different but now we can reach an audience that we may never had access to before.

In this post we will take a closer look into how we could actually implement a Power Outage system and include notifications to both customers and employees by using Service Bus Notification Hubs. 

Note: In some areas I have over-simplified the process in order to focus on some of the key technical aspects of Notification Hubs.

In the diagram below I have laid out the series of events that make up the architecture:

  1. Customer determines their power is out and launches the Windows 8 application on their SurfaceRT tablet in order to report their Power Outage.  The mobile client registers itself for Toast Notifications.  In this case the Customer is only interested in events pertaining to its SiteID (Customer ID) so a Tag of 0090123456789 is included as part of the Toast Notification registration. Next, the customer clicks the submit button to notify the power company of their outage. The message is sent to a Customer Outage Service Bus Queue.
  2. BizTalk is using the new SB-Messaging Adapter to connect to this Service Bus Queue and pulls down the Customer message.
  3. BizTalk will perform a transformation and send the message to the Work Order Create Queue.  Once again, the new SB-Messaging Adapter will be used when communicating with the Service Bus.
  4. Once the Work Order message has been sent to the Service Bus Work Order Create Queue, BizTalk will send a message using the Service Bus .Net Preview SDK to the Service Bus Notification Hub.  Included in this message is the tag “Airdrie” which happens to be the City were the customer, who submitted the trouble ticket, lives.  It also happens to be the area that the Power Line Technician (PLT)  is responsible for.  Only he will receive this toast notification because he is the only employee that is registered for this tag. 
  5. The PLT will now receive a Toast Notification indicating that he has a new Work Order that he needs to complete.
  6. When the PLT clicks on the Toast Notification, the PLT App is launched and he can click the Retrieve Next Order button to download the order. 
  7. Once the PLT has had a chance to assess the situation he can provide an Estimated Time of Restore (ETR) and send this information to a Work Order Update Queue that exists in the Service Bus.
  8. BizTalk will pickup this message from the Work Order Update Queue.
  9. The updated Work Order information will now be sent to the Outage Management System using the FILE Adapter.
  10. BizTalk will use the information contained in the Work Order Update message to push a Notification message up to the Service Bus Notification Hub.  As part of this message, a tag for the customer’s Site ID is populated.  In this case it is 0090123456789 which happens to be the same Site ID as the customer who initially logged the Power Outage ticket.
  11. The customer will now receive a Toast Notification indicating their Estimated Time of Restore (ETR).
  12. Steps 7 – 11 will be repeated once the PLT has restored power and a notification can be sent to the customer, when the work order has been closed in the Outage Management System, indicating that their power has been restored and give them a duration of the outage.

image

Conclusion
Hopefully this post has described in more detail how Service Bus Notifications can improve customer and employee engagement.  I promise that the next post in the series will have some code.  I just felt that if I could build a story, it would provide some worthwhile context that truly demonstrates why this Notification Hub technology is important.

Renewal of Microsoft Gold Partnership

Renewal of Microsoft Gold Partnership

Once again, Cnext is proud to announce the renewal of the gold partnership with Microsoft, demonstrating a “best-in-class” ability and commitment to meet Microsoft Corp. customers’ evolving needs in today’s dynamic business environment and distinguishing itself within the top 1 percent of Microsoft’s partner ecosystem. Cnext reached this gold partnership in the category Application Integration. […]
Blog Post by: Cnext

Announcing new free webinars for Microsoft ALM Certification

Microsoft Learning used the ALM Summit 3 this week to announce the new “Microsoft Certified Solution Developer (MCSD): Application Lifecycle Management” certification. The new certification required you to pass the following three exams.

  1. 70-486: Administering Microsoft Visual Studio Team Foundation Server 2012
  2. 70-497: Software Testing with Visual Studio 2012
  3. 70-498: Delivering Continuous Value with Visual Studio 2012 Application Lifecycle Management

QuickLearn’s two TFS instructors have both already obtained this certification and have prepared comprehensive exam preparation sessions to help candidates focus their study and pass these exams.

The exam preparation sessions are available as FREE, ONLINE WEBINARS that anyone can register to attend. Over the coming month we’ll also release online video preparation sessions.

Attending these webinars will help you in the following ways.

  • Understand the goals and objectives covered in each exam.
  • Get links to study material on the Microsoft MSDN website.
  • Go through some samples questions.
  • See product demonstrations for topics listed in the exam preparation guide.
  • Learn techniques to help you when you’re doing the actual exams.

To sign up for any of the free webinars, simply click the following link, choose the webinar you wish to attend and register.

SESSION DATES/TIME and REGISTRATION LINK

NOTE: We do not tell you the questions or the answers. We provide sample questions that we have written ourselves. We respect the NDA we signed prior to taking these exams. We do not encourage the use of brain dumps. Brain dumps devalue the certification and reduce value for everyone.

QuickLearn Training at the ALM Summit 3 event

This week QuickLearn was involved at the third annual Application Lifecycle Management Summit held on the Microsoft Corporate headquarters in Redmond.

Nick and I were both involved in delivering content and sharing our TFS knowledge and skills with attendees. Here are the two activities we presented.

Pre-conference workshop

I delivered a sold-out pre-conference workshop entitled “Managing your application lifecycle with TFS”. The workshop provided attendees with a rapid overview of many of the features of Microsoft’s ALM suite. Based on the number of questions from attendees, there was a lot of interest in the new features in TFS 2012.

Exam Cram Session

Microsoft took the opportunity to announce the brand new MCSD: Application Lifecycle Management certification at the conference. Nick and I paired up to deliver a 90 minute exam prep session to help attendees learn the best way to prepare for the three exams required for the new certification. Fortunately, both Nick and I both already have the certification so this made things a little easier.

Feedback from both activities was overwhelmingly positive and with our commitments done, we’re both just enjoying attending sessions at the conference for the rest of the week.

Bulk starting/stopping/overriding EDI batches in BizTalk Server 2010

Bulk starting/stopping/overriding EDI batches in BizTalk Server 2010

TorbenChrona Christiansen wrote a very handy blog post last year on how to bulk stop and start EDI batches in BizTalk Server 2009 using SQL queries. These queries can be used to aid in creating proof of concepts, to demonstrate batching in presentations, as a setup step in integration tests, or during deployments. Seeing as […]
Blog Post by: Johann

Performance issue in Development plateform : one solution clean your BizTalk DB

Performance issue in Development plateform : one solution clean your BizTalk DB

My dev machine works so slowly, so I decided to clean it. I found a guide to perform it. But don’t do it on production plateform, it won’t be supported Here are few steps to clean up BizTalk Message Box Database. 1. There is a Stored Procbts_CleanupMsgboxin BizTalkMsgBoxDb Database. By default this stored proc does […]
Blog Post by: Jeremy Ronk

Service Bus Notification Hubs-Part 2 Improving Customer Engagement

Service Bus Notification Hubs-Part 2 Improving Customer Engagement

 

In my previous post I introduced Service Bus Notifications and explained why you may want to use it when sending Notifications to mobile devices.  In this post I want to explore its use in a corporate environment and how introducing this technology can improve customer engagement as well as employee engagement.

Use Case

Back in the Summer of 2012, I wrote a couple blog posts on BizTalk and SignalR.  The idea was that BizTalk could provide real time notifications to on premise users.  The notifications provided the current  state of particular events that were flowing through BizTalk. In this post there is a similar theme but this time we will extend the experience onto customers and mobile field workers.

The scenario that we are going dive into is a typical Customer Power Outage scenario.  We have all been there, we get home from work (or wherever) and discover that our power is out.  If you have never worked in the utility sector, you probably have no idea what goes on behind the scenes.  I have worked in the sector for close to 7 years and I can assure you that these scenarios are taken seriously.  At least the places that I have worked have treated them that way.

Each utility will vary greatly when it comes to dealing with Power Outage scenarios.  Some utilities will have very sophisticated SCADA and Outage Management Systems (OMS) others may simply rely upon customers calling their utility to notify them that their power is out.  Sometimes the power outage may be widespread other times it may be only you.  Much like any other company, or industry, the utility companies are looking for ways to provide Self Service capabilities to customers.  Just like you can check your bank account online, why can’t you see your power consumption or inform your power company that your power is off via a mobile application?

In the diagram below, you will see many different key data flows:

  • Notifying the OMS system of devices that have failed via SCADA interfaces
  • Customers calling and talking to a Contact Centre agent.  The Contact Centre agent in turn will leverage a Customer Information System (CIS) to log a ticket.
  • Customers who use an Integrated Voice Recognition (IVR) service when live agents are currently servicing other customers
  • Self Service inputs such as mobile applications and  Websites

If an organization is using a Middleware product, such as BizTalk to bridge all of these different inputs with the Outage Management System then BizTalk has access to a lot of relevant, event driven information.

Another interesting fact is when orders are created and dispatched to Field workers aka Power Line Technicians (PLTS) information is often passed back to an ERP system.  This information is often used for Financial or Reporting purposes.  For instance if there is a power outage, then resources will be used to address the power outage.  This will include Employee time and materials such as replacement parts and equipment used such as vehicles to fix the problem. This information is usually passed back once the outage has been completed or maybe as the outage is being resolved in the form of updates. Since ERP systems are usually not part of Outage Management Systems, this information needs to be moved via  Middleware platform such as BizTalk.

image

Hopefully it has become apparent that BizTalk has access to a lot of important event driven information that is passing through it that may be of interest to other parties such as customers.  For instance if your power was out, would you like to know when the Estimated Time to Restore (ETR) is?  Or if you were the owner of a small business, who relied upon power to run its business, would you like to be notified the minute the outage is over? I am pretty sure you would.  The interesting part is that any decent Outage Management System will have this information.  The problem is that utilities just do not have the people resources to start calling people to let them know. Here is where the opportunity lies to use Service Bus Notification Hubs.

The Solution

Enter Service Bus Notification Hubs.  I think this is a great complimentary technology to BizTalk.  In this case BizTalk is performing traditional On-Premise integration and can easily hook into a progressive service like Service Bus Notification Hubs to deliver better customer engagement with very little effort.

I have built out a fairly comprehensive solution that dives deeper into this problem.  I will be breaking down this problem into a series of different posts.  But, as a bit of a teaser you can see part of the solution in the screen shot below.

 

Toast