business process flexibility in service composition
DESCRIPTION
Safa Hachani, Lilia Gzara and Hervé VerjusTRANSCRIPT
[email protected] IESS’11| 2/17/11 1
Business process flexibility in service composition : an experiment using a PLM-based scenario
Business process flexibility in service composition : an experiment using a PLM-based scenario
Safa HACHANI [email protected]
Grenoble Institute of Technology G-SCOP Laboratory- France
Encadrants : Lilia GZARA (G-SCOP) et Hervé VERJUS (LISTIC) [email protected]
[email protected] IESS’11| 2/17/11 2
Business process flexibility in service composition : an experiment using a PLM-based scenario
Business process flexibility Requirements
Plan
Evaluating BPEL against the process flexibility requirements
Conclusion
Business Process environment overview
Business process automation & service standards
Evaluating PDDL against the process flexibility requirements
[email protected] IESS’11| 2/17/11 3
Business process flexibility in service composition : an experiment using a PLM-based scenario
Business Process environment overview
• « The sequence of steps that govern enterprise solutions operations to achieve business objectives » F.B. Vernadat, 2007
• Businesses today requires to quickly adapt and change business processes to meet customer needs, market conditions, new operational or organizational requirements
Business Process Definition
Assigning production orders process
BP Environment Overview
Change in assigning production orders process
[email protected] IESS’11| 2/17/11 4
Business process flexibility in service composition : an experiment using a PLM-based scenario
Business Process Automation
Business Process automation and service standard
• Business Process Management becomes the enabler of business process automation – Improve the speediness and quality of a business process – BPM activities : Modeling, Execution and Monitoring
How does it work? - Storing the input model (process template)
- Executing the process instance - Instantiating the process template
Workflow Management system
Terminology and Glossary, 3rd Edition. Document No WFMC-TC-1011
« Provides procedural automation of a business process by management of the sequence of work activities and the invocation of appropriate human and/or IT resources associated with the various activity steps.»
[email protected] IESS’11| 2/17/11 5
Business process flexibility in service composition : an experiment using a PLM-based scenario
1
No run time modification
Redefine new template, re-instantiate and rerun
We need a less rigid solution to
Support BP changes
Workaround process definition at run time
Time t0 t1
2
3
4
1
2
3 1
2
3
4
Which alternatives for BP Management
Stiffness of workflow system
Business Process automation and service standard
[email protected] IESS’11| 2/17/11 6
Business process flexibility in service composition : an experiment using a PLM-based scenario
Business Process automation and service standard
• SOA promote the composition of reusable and loosly coupled independent services
• Service « Provider of reusable functions in an implementation-independent language that is loosely coupled to other functions»
• SOA provide mechanisms for making process automation more agile
R. Credle, 2008
Business process defined as service composition
• The survival of process is dependent on how flexible the service compositions are.
[email protected] IESS’11| 2/17/11 7
Business process flexibility in service composition : an experiment using a PLM-based scenario
Process flexibility Requirements
• A services composition can be seen as a collection of services Relationships.
• Process definitions are defined on top of these relationships.
Levels of process flexibility
The flexibility on process definition implies requirements on flexibility of the services relationships
Service based-Process definition: information exchange What? What tasks need to be performed? Which? Which services are involved in the process definition?
[email protected] IESS’11| 2/17/11 8
Business process flexibility in service composition : an experiment using a PLM-based scenario
Process Flexibility Requirements
Evaluating BPEL against the process flexibility requirements
Conclusion
Business Process environment overview
Business process automation & service standards
Evaluating PDDL against the process flexibility requirements
Plan
[email protected] IESS’11| 2/17/11 9
Business process flexibility in service composition : an experiment using a PLM-based scenario
Business Process automation and service standard
• Activities-based and goal-based methods • Traditional orchestration: Activities based methods (BPEL, WS-CDL, BPML, etc.)
Business Process Execution Language (BPEL).
• Goal based composition methods, Artificial Intelligence planning (CSSL, PDDL, etc.)
Process definition is generated automatically using planners and planning language such as Planning Domain Definition Language (PDDL)
• Do they really support flexible business processes? • How can BPEL or PDDL enable business process flexibility achievement?
Service composition methods for process definition
[email protected] IESS’11| 2/17/11 10
Business process flexibility in service composition : an experiment using a PLM-based scenario
Simple Example: Updating Product Attachment
Updating Product Attachment Process
[email protected] IESS’11| 2/17/11 11
Business process flexibility in service composition : an experiment using a PLM-based scenario
• Business Process Execution Language (BPEL) – Is the standard for specifying service-based business processes – Process can be specified, using BPEL, as a flow between services’
operations and the process – specifies an executable process that involves message exchanges with
other partners (other services)
BPEL Process structure Services used to define
the process
Evaluating BPEL against process flexibility requirements
BPEL Process structure
Services used to define the process
Updating Product Attachment process
[email protected] IESS’11| 2/17/11 12
Business process flexibility in service composition : an experiment using a PLM-based scenario
• The interaction between partners occurs through service interfaces.
• This relationship is allowed thanks to partner link type.
– A partner link type binds a port type the process offers to a partner and a port type the process requires from the corresponding partner.
Partners relationship in BPEL Partner Link Type between ModifProcess and ModificationAttachement service
Evaluating BPEL against process flexibility requirements
role names
port type
[email protected] IESS’11| 2/17/11 13
Business process flexibility in service composition : an experiment using a PLM-based scenario
• Process definition contains the description of the behavior for handling a modification request
– Which operations needs to be invoked : Interaction activities ( <invoke>, <receive>, <assign>, etc.)
– In what order : structured activities ( <sequence>,<switch>, <while>, <scope>, etc.)
BPEL interaction model for the Updating Product Attachment process
Interaction activities: reference a partner link and a port type
operation
Evaluating BPEL against process flexibility requirements
Structure of processing section
[email protected] IESS’11| 2/17/11 14
Business process flexibility in service composition : an experiment using a PLM-based scenario
Evaluating BPEL against process flexibility requirements
• Services relationship flexibility requirement – Roles used by process are tied to services interfaces by service linkTypes.
No ability to change inter-services relationships
• Process definition flexibility requirement – Predefined sequence of activities,
– The process logic (’what’) directly refer to services’ operations (’which’).
No ability to change service binding or process behavior
How does it
work?
[email protected] IESS’11| 2/17/11 15
Business process flexibility in service composition : an experiment using a PLM-based scenario
Evaluating PDDL against the process flexibility requirements
• Application of AI planning to the service composition problem.
• Planning Domain Defintion Language (PDDL)
Components of a PDDL; planning problem: • Objects: set of things in the world that interest us.
(Product Reference (Ref), Product Attachment (Doc), etc.) • Predicates: defines properties of objects that we are interested in; can be true or false.
(Updated Doc), etc.
• Initial state: denotes the state of the world that we start in. (Known Ref )(Not (Updated Doc)), etc.
• Goal specification: denotes the goal state of the object the planner attempt to reach (And (IdentifiedAttach Ref Doc)(updated Doc)(chekedIn Doc))
• Actions: are the ones the planners can perform in order to change the state of the world. (searchAttachment, initiateModif, modification and endModif)
[email protected] IESS’11| 2/17/11 16
Business process flexibility in service composition : an experiment using a PLM-based scenario
• How can we transform services composition problems into AI planning problems ?
Evaluating PDDL against the process flexibility requirements
Mapping between services and PDDL models
– Each service operation can be specified as an action in the planning domain.
Objects and Properties that we are interested in Actions
Objects and Properties that we are interested in Actions
– Process definition: the initial states of the system under which the process will be executed and the goal states after the execution of the process.
[email protected] IESS’11| 2/17/11 17
Business process flexibility in service composition : an experiment using a PLM-based scenario
Evaluating PDDL against the process flexibility requirements
• Services relationships flexibility – Problem goal (process logic) is defined on top of predicates and that not refer to the
actions (which): possibility to use any action which offers the needed computation. ability to change inter-services relationships
• Process definition flexibility
– Changing the states in the base allow changing the process definition at run time
ability to change service binding or process behavior
How does it
work?
Planner Predicates
Actions
Object
Initial state
Goal
Plan states
• Every time an action is executed the planner generates again a new plan according to the new states in the base and to the goal specified in the problem
delegate
[email protected] IESS’11| 2/17/11 18
Business process flexibility in service composition : an experiment using a PLM-based scenario
Conclusion
• Businesses today requires to quickly adapt and change business processes to satisfy customers and compete in market
To reflect this changes automated support for business process needs to be flexible.
• Process flexibility Requirements for an effective service-based BP Automation.
– Process definition flexibility : ability to change service binding
– Service relationships flexibility : ability to change inter-service relationships
• Services-based BP Automation needs more investigations for PDDL direction
Interesting : generates process definition automatically, locates the correct services, dynamically changes the process at runtime
BPEL PDDL PLM-based scenario
- Activities-oriented service composition methods
- Goal-oriented methods - Using AI planning languages
Flexible but hard to define and understand the specification by non-technical users
Simplified comprehension of service-based process, results in rigid BP definition.
[email protected] IESS’11| 2/17/11 19
Business process flexibility in service composition : an experiment using a PLM-based scenario
Thank you for your attention!!