business works
TRANSCRIPT
TIBCO Business Works
Narendra Thota
Agenda
Introduction to TIBCO Business Works
Uses of Business Works
Components of TIBCO Business Works
TIBCO Business Works design time Architecture.
TIBCO Business Works run time Architecture.
Features of TIBCO Business Works.
TIBCO BusinessWorks Process Design
2
TIBCO BW Palettes
Why do we need Business Integration ?
The Integrated Enterprise works seamlessly.
Enterprise applications of varied architectures understand each
other.
Seamless communication enhances efficiencySeamless communication enhances efficiency.
Reduced or zero manual intervention.
Improves response times to customer needsImproves response times to customer needs.
Real-time information exchange.
3
What does TIBCO BusinessWorks do?
Provides Business Integration
Defines Business Processes.
Establishes connections between Enterprise Applications and Enterprise Business Process Definitions.
Automates Business Processes.
Manages Process Exceptions.
4
TIBCO BW – How it works?
Business Integration
ModelDefine process rules andflows in an easy-to-use GUI
Assemble
y
Configure connectivity to applications through TIBCO Adapter services sse b e
DeployPropagate process definitions to hardware components and startProcess engines
Adapter services
Deploy
Manage
Process engines
Monitor processes and handleProcess exceptions
5
ManageProcess exceptions
Sample Process Flow
6
BW Design-time Architecture
Project Version TIBCO
Control Administration Server
Deploy
Enterprise Archive (EAR)
TIBCO D i GUI i d fi d i d
TIBCO Designer
TIBCO Designer GUI is used to configure adapter servicesand
design business processes
The processes are deployed using the TIBCO Administrator
7
The processes are deployed using the TIBCO Administrator
BW Run-time Architecture
TIBCO Administration Server TIBCO
Evaluate
Business Rules,
Runtime Agent
,
Perform
TransformationsFault tolerant Process Engines
Connect to
Enterprise Applications RV/JMS
Fault-tolerant Process Enginesp pp
through Adapter Services HTTP,
SOAP,ODBC,JDBC
Connect to File andCommunicate over
SMTP
8
Connect to File and
Database systemsthe Internet
BW Components
TIBCO Designer.TIBCO BusinessWorks engine.TIBCO Administrator.TIBCO Runtime Agent (TRA).
9
TIBCO BW Palettes
Process Palette
Active Enterprise Adapter Palette
EJB Palette
File Palette
FTP Palette
GGeneral Activities Palette
HTTP Palette
J P lJava Palette
JDBC Palette
W kfl l tt
10
Workflow palette
TIBCO BW Palettes (Cont’d)
JMS Palette
Mail Palette
Manual Work Palette
Parse Palette
Rendezvous Palette
SOSOAP Palette
WSDL Palette
XML A i i i P lXML Activities Palette
Service Palette
P li P l tt
11
Policy Palette
Process Palette
Allows to define business processes.
d t l tt f ll b imandatory palette for all business processes
All BW palettes appear on double-clicking this palette in
designerdesigner
12
TIBCO BusinessWorks Features
Messaging.
Adapters Services.
Business Process ModelingBusiness Process Modeling.
Schemas and Data Mapping.
Manual Activities.
13
TIBCO BusinessWorks Features
Messaging
TIBCO Business Works has messaging system that can reliablyTIBCO Business Works has messaging system that can reliably handle the volume of messages that will be sent and received by it.
The system has the following characteristics:Guaranteed and fault tolerant.Distributed architecture.High Throughput.Scalable.
14
TIBCO BusinessWorks Features
Adapters
Adapters receive information from a source application andAdapters receive information from a source application andpublish it to the business process in a shared format
Adapters subscribe to information from a business process.
Translate it to a format the target application can understand.
Adapters can also be set up to work in a client/server modeAdapters can also be set up to work in a client/server mode
Manual Activities
BW includes a Manual Work palette with activities to add to business processes when the process requires user interaction for completion.
15
The ManualWork palette works with TIBCO InConcert.
TIBCO BusinessWorks Features
Schemas and Data Mapping
Data can be mapped and transformed in in the required formats
16
TIBCO BusinessWorks Process Design
Process Definition
Process definition is a graphical representation of the business process model
Process definition consists of the followingActivities TransitionsTransitions Groups Shared Configuration Resources Sub processesSub processes
17
HelloWorld Process
Lab 1
Utkata Company Confidential18
Global Variables
Provide an easy way to set default values for use throughout the project.
Click on the Global Variables tab to configure the Global Variables.
T t l b l i blTo create a new global variable
Click on Add new variable/variable group Icon.Specify a name.Assign a value. Press Enter. The global variable is now displayed in the global variables list.
Variables can also be configured to be specified on a per-deployment i b i
19
or a per-service basis.
Global Variables
20
Global Variables
To use the global variable in the fields of a resource, enter the
variable name surrounded by %% on both sidesvariable name surrounded by %% on both sides.
Most projects define some standard variables, but you may define p j , y y
any variables you need.
21
Global Variables & Process VariablesVariables
Lab 2
Utkata Company Confidential22
TIBCO BusinessWorks Process Design
ActivitiesActivities
Individual units of work within a process definition
Interface to external systems
Palette has a set of activities that can be performed for that palette
Example, File Palette contains the following activities
Create File
Remove File
Read FileRead File
Write File
23
TIBCO BusinessWorks Process Design
Transitions
Describe the flow of processing.
Is represented by an arrow between two activities or groups ofIs represented by an arrow between two activities or groups of
activities in a process definition.
Conditions can be specified on transitions to determine whether to
take the transition to the next activity or not.
Control cannot be transitioned to a previously executed activity.
24
TIBCO BusinessWorks Process Design
Transition TypesTransition Types
Success : Take this transition unconditionally.
Success with condition : Transition is taken if the condition specified
evaluates to true.
Success if no matching condition : Transition is taken if no other
transitions are taken .
Error : Transition is taken if there is an error during processing of theError : Transition is taken if there is an error during processing of the
activity.
25
Transitions
Lab 3
Utkata Company Confidential26
TIBCO BusinessWorks Process Design
Grouping ActivitiesGrouping Activities
Groups are used to specify related sets of activities.
Main uses of groups are to create a set of activities for the following
purposes
Common error transition
P ti i t i t tiParticipate in transaction
Repeating set of activities
27
TIBCO BusinessWorks Process Design
Grouping Activities - Types of Groups
N U d f i ith t l iNone : Used for grouping without looping
Transaction Groups : Used to group activities that participate in a
transaction. Eg. JDBC group activitiesg g p
Iterate Loop : Used to iterate a group once for every item in a list
Repeat Until True Loop : Used to iterate a group until the specified
condition is true
Repeat On Error Until True Loop : Used to iterate a group when an error
occurs
If Groups: To conditionally execute business logic
28
TIBCO BusinessWorks Process Design
Grouping Activities - Types of Groups
Whil T G R t th i f d ti iti lWhile True Groups: Repeats the series of grouped activities as long as
the given condition evaluates as true.
Critical Section : Used to synchronize process instances so that only y p y
one process instance executes the grouped activities at any given time.
Pick First : Allow process execution to wait for one or more events
29
Group Activities
Lab 4
Utkata Company Confidential30
TIBCO BusinessWorks Process Design
Shared Configuration ResourcesShared Configuration Resources
These resources are shared among activities.
The resources include
Database connections
WSDL files
S h d fi itiSchema definitions
Server Connections – like HTTP, FTP
31
TIBCO BusinessWorks Process Design
SubprocessesSubprocesses
Help in modular design of process definitions.
Can reuse subprocesses across many process definitions.
Call Process activity is used to call a subprocess.
Input, output, and any error schemas of the subprocess are specified on
the Start and End activities within the subprocess.
32
TIBCO BusinessWorks Process Design
XPATH
Is the language for defining conditions and transformations
XPath formula builder can be used to build xpath expressions
Contains many string, date time, custom functions
Supports drag & drop building of expressions
33
TIBCO BusinessWorks Process Design
Error Handling
Handled using error transitionsHandled using error transitions.
Can deal with any potential runtime errors in process definitions .
‘Generate Error’ activity can be used to raise custom errorGenerate Error activity can be used to raise custom error
conditions.
Error data is available to activities that execute after the errorError data is available to activities that execute after the error
transition
In the error process variablesp
$_error
$ error <activityName>
34
$_ _ y
TIBCO BusinessWorks Process Design
Inter-Process Communication
Two executing process instances can communicateTwo executing process instances can communicate
Wait , Notify, Receive Notification activities are used
A String key is used to correspond Notify activities with wait or Receive Notification
Data to be shared is defined by a ‘Notify Configuration’ shared configuration resourceconfiguration resource
Process engines are on different machines should use a database to store process instance informationp
Same ‘Notify Configuration’ resource is used to configure the Notify activity as well as the Wait activity and the Receive Notification process t t
35
starter
TIBCO BusinessWorks Process Design
Testing Process Definitions
BW provides a testing environment to test process definitions
Any process definition can be selected for testingAny process definition can be selected for testing
BW engine is started for testing e process definition
Break Points can be set which
Allow to suspend a running process instance at a specified point to examine the process data.
Can be set before or after an activity with conditions tooCan be set before or after an activity with conditions too
persist even after closing the project
36
File Palette
File palette is used to read, write, delete, or create files Copy File Copy e
The Copy File activity allows you to copy files and directories to a new location
Create File The Create File activity creates a new file or directory with the specified nameThe Create File activity creates a new file or directory with the specified name
File Poller The File Poller process starter polls for files or directories with the given name and starts a process when the specified change (creation modification deletion)and starts a process when the specified change (creation, modification, deletion) is detected
List Files The List Files activity returns information about files or directories, or a listing ofThe List Files activity returns information about files or directories, or a listing of all the files in the specified directory.
Read File The Read File activity is used to read a file and place its contents into the
37
y pactivity’s output.
File Palette
File palette is used to read, write, delete, or create files Remove File e o e e
The Remove File activity removes the specified file. This activity can also remove empty directories. If a directory that is not empty is specified, an exception is thrown.
Rename File The Rename File activity is used to rename or move files.
Wait for File Change gThe Wait for File Change activity waits for a file creation, modification, or deletion event to occur during process execution
Write FileThe Write File activity writes content to the specified file.
38
File Palette
Lab 5
Utkata Company Confidential39
HTTP Palette
HTTP Connection
The HTTP Connection resource describes the characteristics of the connection used to
receive incoming HTTP requestsreceive incoming HTTP requests
HTTP Receiver
Starts a process based on the receipt of a HTTP request.
Proxy Configuration
Used to specify a proxy HTTP server when HTTP requests are sent outside of a
firewall.
Send HTTP Request
Sends a HTTP request to a web server
Send HTTP Response p
Sends a response to a previously received HTTP request
Wait for HTTP Request
S d th t til th i i HTTP t i i d
40
Suspends the current process until the incoming HTTP request is received.
HTTP Palette
Lab 6
Utkata Company Confidential41
Parse Palette
The Parse palette provides shared configuration resources and
activities for parsing and rendering formatted textactivities for parsing and rendering formatted text.
Data Format
The Data Format resource contains the specification for parsing or rendering a text string
Parse Data
Takes a text string or input from a file to schemag p
Render Data
Converts data to text string
42
Parse Palette
Lab 7
Utkata Company Confidential43
TCP Palette
The TCP/IP palette provides activities and resources that can send
and receive data using the TCP/IP protocol. g pRead TCP Data
The Read TCP Data activity reads data from an open TCP connection
TCP Cl C tiTCP Close Connection
The TCP Close Connection activity closes a TCP connection opened by a previously
executed activity or process starter.
TCP Connection
The TCP Connection is a shared configuration resource that specifies the connection
information for the TCP server
TCP Open Connection
The TCP Open Connection activity opens a connection to a TCP server.
44Utkata Company Confidential
TCP Palette
TCP Receiver
The TCP Receiver process starter starts a new process when a client requests a TCP
connection.
Wait for TCP Request
The Wait for TCP Request activity waits for a TCP client connection request.
Write TCP Data
The Write TCP Data activity sends data on the specified TCP connection
45Utkata Company Confidential
TCP Palette
Lab 8
Utkata Company Confidential46
XML Tools Palette
Provides a set of tools enabling the creation, management, and
validation of XML schemas (XML Schema or DTD) and XMLvalidation of XML schemas (XML Schema or DTD) and XML
instance documents.Schema
The Schema resource enables the creation of an XML Schema file
DTD
The DTD resource enables the creation of a DTD (Document Type Definition)The DTD resource enables the creation of a DTD (Document Type Definition)
Instance
XML instance documents are XML documents -- typically representing data-oriented
business documents messages and configuration files that conform to the rules of anbusiness documents, messages, and configuration files -- that conform to the rules of an
XML Schema or DTD
47Utkata Company Confidential
XML Tools Palette
Lab 9
Utkata Company Confidential48
XML Activities Palette
This palette provides activities for parsing XML strings into schemasThis palette provides activities for parsing XML strings into schemas
and rendering schemas into XML stringsParse XML
Converts and XML string or file to XML schema
Render XML
Converts XML Schema to XML stringConverts XML Schema to XML string
Transform XML
Allows to transform input XML document into the output specified by the given
XSLT File shared configuration resource.
49
XML Activities Palette
Lab 10
Utkata Company Confidential50
Questions?
51Utkata Company Confidential