using soa to enhance email notifications
TRANSCRIPT
Using SOA to Enhance
Email Notifications
Rajas Kirtane
8/11/2014
In collaboration with 2 The information contained in this document is proprietary. Copyright © 2012 Capgemini. All rights reserved.
Presentation Title | Date
Agenda
Introduction
Business Challenge
Solution Overview
Key Learning's
Q & A
In collaboration with 3 The information contained in this document is proprietary. Copyright © 2012 Capgemini. All rights reserved.
Presentation Title | Date
Introduction
Supply Chain Technologies and Retail
Enterprise Architect –SCM Solutions
14+ years of experience in IT consulting focusing mainly on OTM and other SCM solutions
Enterprise architect for modelling TMS solutions for global clientele with expertise in SCM
Integrations
Highly experienced in working with IT systems of global leader in logistics and SCM
Replace
with
Picture
In collaboration with 4 The information contained in this document is proprietary. Copyright © 2012 Capgemini. All rights reserved.
Presentation Title | Date
Agenda
Introduction
Business Challenge
Solution Overview
Key Learning's
Q & A
In collaboration with 5 The information contained in this document is proprietary. Copyright © 2012 Capgemini. All rights reserved.
Presentation Title | Date
The Client Requirements Required a Solution Beyond the
Standard OTM Functionality
Business Challenges
Solution Approach
Targeted Benefits
Need to send out multiple custom
build notification emails out of OTM
and other Legacy applications
Use of Service Oriented Architecture
and Oracle Fusion middleware
technologies to handle both OTM and
Legacy requirements
Enterprise standards for
consistency in notification look and
feel
Reusable code that could be
deployed as SaaS solution
The notifications email’s content
required a mix of static and dynamic
HTML content along with simple
branding
Use of domain value maps (DMV) and
business rules to achieve dynamism.
Use of XHTML templates to derive HTML
Dynamic control of notification
based on business requirements
Freedom to design and define our
own notification format and keep it
consistent with enterprise wide
standards
Email attachments functionality was
required for some notification emails
Fusion technologies out of box email
component was extended to achieve
attachments on emails
Business was able send file
attachment on email notification
from the existing solution without
redesigning business process
Limited resources
Hosted on existing Infrastructure.
NO additional cost and pain to manage
another set of servers or technologies
Solution can be developed and
maintained with limited resources
In collaboration with 6 The information contained in this document is proprietary. Copyright © 2012 Capgemini. All rights reserved.
Presentation Title | Date
Agenda
Introduction
Business Challenge
Solution Overview
Key Learning's
Q & A
In collaboration with 7 The information contained in this document is proprietary. Copyright © 2012 Capgemini. All rights reserved.
Presentation Title | Date
Using SOA Dynamic Email Messages are Generated
Service Oriented Architecture provided additional flexibility and
implementation speed while improving the ability for the organization to
support the solution
To handle the various business requirements across the organization and the dynamic type
of messaging we used SOA to meet the needs of the business:
Sends custom SCM notifications emails for SCM event
Use of service oriented architecture in design to reduce costs and increase speed of
deployment of multiple requirements
Eliminates use of specific reporting tool like BI- Publisher
Developed and hosted using Oracle Fusion technologies
Notification email contents are HTML based to provide more possibilities
Hyperlinks, Rich text, branding and virtually anything that is possible in HTML is
possible on the notifications.
In collaboration with 8 The information contained in this document is proprietary. Copyright © 2012 Capgemini. All rights reserved.
Presentation Title | Date
The Solution High Level Design Consists of 5 Main Components
OTM
Legacy
ERP
OTM ABCS
(SOA)
Legacy ABCS
ERP ABCS
Notification
Service
Content Generator
Service
Business
Rules
In collaboration with 9 The information contained in this document is proprietary. Copyright © 2012 Capgemini. All rights reserved.
Presentation Title | Date
The Process Supports Unique Notifications For Each Outbound
OTM Message
OTM
OTM Generates Outbound XML Transmission
OTM
AB
CS
(SO
A)
No
tifi
cati
on
Se
rvic
e
Co
nte
nt
Ge
ne
rato
r B
usi
ne
ss
Ru
les
Receives OTM XML and Calls Notification Service
2
Calls Content Generator Service
Calls Business Rules Engine to Get Notification Configuration
Maintain Business Rules Configuration for Each Type of Notification
3
4
5
Send Out Emails
Generates <HTML> String for Notification Based on Configuration
6
7
1
In collaboration with 10 The information contained in this document is proprietary. Copyright © 2012 Capgemini. All rights reserved.
Presentation Title | Date
OTM Agent is
Triggered
OTM Transmission
XML is generated
for the Shipment
Object
OTM agent
performs agent
actions for the
event
Prepares XML with
all relevant data for
generating
notification for hand
off
Make web service
call or Enqueue
Transmission XML
for OTM ABCS
SCM Even occurs in OTM OTM Agent is fired Call OTM ABCS
1
OTM Generates Outbound XML Transmission
In collaboration with 11 The information contained in this document is proprietary. Copyright © 2012 Capgemini. All rights reserved.
Presentation Title | Date
Dequeue/receive
transmission xml
from OTM
Handoff
transmission XML
to down stream
components
Determine which
notification is to
be generated
using Xpath
Create HTML text
strings for the
notification contents
Provide email
recipient
information like , To,
Cc
Assign subject text
to email
Provide file
attachment details
Transform OTM
transmission into
notification request
message
Call notification web
service
Get the receipt acknowledgement
Receive transmission xml from OTM
Identify notification type to be generated
Provide email meta data
Call notification service
2
OTM ABCS Receives OTM XML & Calls Notification Service
In collaboration with 12 The information contained in this document is proprietary. Copyright © 2012 Capgemini. All rights reserved.
Presentation Title | Date
• Validate input XML
against schema
• Send receipt
acknowledgement
to consumer
• Transform input
message to request
message of content
service
• Call Content Generator Service
Validate input XML Call Content Generator
Service
3
The Notification Service is Called to Send Notifications
• Receive <HTML>
string for email
body from content
service
• Prepare, To, Cc,
Bcc list
• Determine if Email
attachments are
requested
• Attach the supplied
file or fetch it from
network.
• Transmit email
using standard SOA
components
Prepare email Send email
7
In collaboration with 13 The information contained in this document is proprietary. Copyright © 2012 Capgemini. All rights reserved.
Presentation Title | Date
Call business
rules for specific
notification Type
Get notification
display
configuration
Get Template file
Name (.xhtml)
configured from
Notification rules
Read the specific
template file for
notification type
Get notification
display
configuration for
the notification
from business rule
Replace input
HTML contents
with XHTML
template as per
Business rule
Generate
<HTML>stream
(Email Body)
Return this
<HTML> String to
the Notification
service
Call Business Rules Get XHTML template Transform XHTML Return HTML
4
Content Generator Service Generates Notification Contents
6
In collaboration with 14 The information contained in this document is proprietary. Copyright © 2012 Capgemini. All rights reserved.
Presentation Title | Date
Define Business
rule Decision
table design
Configure
decision table for
each notification type
Enable Business
rules to be called
as Web service
from external
applications.
Define Configure Enable
5
Maintain Business Rules to Handle Various Business
Requirements
In collaboration with 15 The information contained in this document is proprietary. Copyright © 2012 Capgemini. All rights reserved.
Presentation Title | Date
Agenda
Introduction
Business Challenge
Solution Overview
Key Learning's
Q & A
In collaboration with 16 The information contained in this document is proprietary. Copyright © 2012 Capgemini. All rights reserved.
Presentation Title | Date
Key Learning's
The Business Team and Technology Team Need to Work as One Team From the
Start to the Finish to Ensure Success on the Project
Critical Success
Factor Hints and Watch Outs
Involve all stake holders during early design phase to gather a
complete understanding of the requirements
Be sure to explain and get buy in for what and how we are trying to
achieve the end result
Test as many email clients as possible, for e.g. Outlook,
Gmail, Gmail on Mobile.. Etc..
Run as many business scenarios as possible to generate
notifications and test the business rules
Extend middleware/Integration technologies to send notifications
Strong knowledge of Fusion middleware offerings and capabilities
Intense design session with all stake
holders
Intense Testing
Develop a flexible approach to
design & strong fusion skills
In collaboration with 17 The information contained in this document is proprietary. Copyright © 2012 Capgemini. All rights reserved.
Presentation Title | Date
Agenda
Introduction
Business Challenge
Solution Overview
Key Learning's
Q & A
In collaboration with 18 The information contained in this document is proprietary. Copyright © 2012 Capgemini. All rights reserved.
Presentation Title | Date
Questions / Comments?
The information contained in this presentation is proprietary.
© 2012 Capgemini. All rights reserved.
www.capgemini.com
About Capgemini
With around 120,000 people in 40 countries, Capgemini is
one of the world's foremost providers of consulting,
technology and outsourcing services. The Group reported
2011 global revenues of EUR 9.7 billion (approximately
$13.5 billion USD).
Together with its clients, Capgemini creates and delivers
business and technology solutions that fit their needs and
drive the results they want. A deeply multicultural
organization, Capgemini has developed its own way of
working, the Collaborative Business ExperienceTM, and
draws on Rightshore ®, its worldwide delivery model.
Rightshore® is a trademark belonging to Capgemini