A university for the world real R © 2009, www.yawlfoundation.org Chapter 9 The Runtime Environment Michael Adams.

Slides:



Advertisements
Similar presentations
What is Test Director? Test Director is a test management tool
Advertisements

Logical and Physical Design of an Information System
Business logic for annotation workflow Tom Oldfield July 21, 2010.
Copyright Hub Software Engineering Ltd 2010All rights reserved Hub Document Exchange Product Overview Secure Transmission for Transaction-based Documents.
JTX Overview Overview of Job Tracking for ArcGIS (JTX)
WASTE MANAGEMENT ©2010 SciQuest USA Confidential 1 Powered by RFx User Guide.
1 Opentest Architecture Table of Content –The Design Basic Components High-Level Test Architecture Test Flow –Services provided by each Layer Test Mgt.
Feature requests for Case Manager By Spar Nord Bank A/S IBM Insight 2014 Spar Nord Bank A/S1.
Lesson 17: Configuring Security Policies
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
Object-Oriented Enterprise Application Development Tomcat 3.2 Configuration Last Updated: 03/30/2001.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
Chapter 1: Overview of Workflow Management Dr. Shiyong Lu Department of Computer Science Wayne State University.
1 Classification: Genpact Internal.  Tool From Oracle  Works with Oracle Database  PL/SQL Based  Widely Used with Oracle Applications  Can be Used.
Chapter 7 Database Auditing Models
The middleware that makes real time integration a reality.
Lecture Nine Database Planning, Design, and Administration
Maintaining and Updating Windows Server 2008
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 11 Managing and Monitoring a Windows Server 2008 Network.
A university for the world real R © 2009, Chapter 7 The Architecture Michael Adams Marlon Dumas Marcello La Rosa.
Database Auditing Models Dr. Gabriel. 2 Auditing Overview Audit examines: documentation that reflects (from business or individuals); actions, practices,
Understanding and Managing WebSphere V5
Chapter 7 Database Auditing Models
Talend 5.4 Architecture Adam Pemble Talend Professional Services.
TIBCO Designer TIBCO BusinessWorks is a scalable, extensible, and easy to use integration platform that allows you to develop, deploy, and run integration.
Process-oriented System Automation Executable Process Modeling & Process Automation.
University of Palestine software engineering department Testing of Software Systems Fundamentals of testing instructor: Tasneem Darwish.
WORKFLOW IN MOBILE ENVIRONMENT. WHAT IS WORKFLOW ?  WORKFLOW IS A COLLECTION OF TASKS ORGANIZED TO ACCOMPLISH SOME BUSINESS PROCESS.  EXAMPLE: Patient.
Chapter 9 Database Planning, Design, and Administration Sungchul Hong.
Workflow Management Chris A. Mattmann OODT Component Working Group.
Christopher Jeffers August 2012
Workflow Manager and General Tuning Tips. Topics to discuss… Working with Workflows Working with Tasks General Tuning Tips.
Chapter 7 Structuring System Process Requirements
Oracle10g RAC Service Architecture Overview of Real Application Cluster Ready Services, Nodeapps, and User Defined Services.
Data File Access API : Under the Hood Simon Horwith CTO Etrilogy Ltd.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 21. Review ANALYSIS PHASE (OBJECT ORIENTED DESIGN) Functional Modeling – Use case Diagram Description.
Informix IDS Administration with the New Server Studio 4.0 By Lester Knutsen My experience with the beta of Server Studio and the new Informix database.
Module 10: Monitoring ISA Server Overview Monitoring Overview Configuring Alerts Configuring Session Monitoring Configuring Logging Configuring.
2 Copyright © 2004, Oracle. All rights reserved. Running a Forms Developer Application.
A university for the world real R © 2009, Chapter 11 The Worklet Service Michael Adams.
Chapter 1: Overview of Workflow Management Dr. Shiyong Lu Department of Computer Science Wayne State University.
Guide to Linux Installation and Administration, 2e1 Chapter 10 Managing System Resources.
Database Security and Auditing: Protecting Data Integrity and Accessibility Chapter 7 Database Auditing Models.
ISetup – A Guide/Benefit for the Functional User! Mohan Iyer January 17 th, 2008.
Triggers A Quick Reference and Summary BIT 275. Triggers SQL code permits you to access only one table for an INSERT, UPDATE, or DELETE statement. The.
1 Schema Registries Steven Hughes, Lou Reich, Dan Crichton NASA 21 October 2015.
Siebel 8.0 Module 5: EIM Processing Integrating Siebel Applications.
A university for the world real R © 2009, Chapter 22 YAWL4Film Chun Ouyang.
Overview of the SAS® Management Console
PI Data Archive Server COM Points Richard Beeson.
ALICE, ATLAS, CMS & LHCb joint workshop on
37 Copyright © 2007, Oracle. All rights reserved. Module 37: Executing Workflow Processes Siebel 8.0 Essentials.
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Search Overview Search Features: WSS and Office Search Architecture Content Sources and.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
9 Copyright © 2009, Oracle. All rights reserved. Deploying and Reporting on ETL Jobs.
20 Copyright © 2008, Oracle. All rights reserved. Cache Management.
Module 6: Administering Reporting Services. Overview Server Administration Performance and Reliability Monitoring Database Administration Security Administration.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
Oracle Business Intelligence Foundation – Testing and Deploying OBI Repository.
Interstage BPM v11.2 1Copyright © 2010 FUJITSU LIMITED INTERSTAGE BPM ARCHITECTURE BPMS.
Integrating and Extending Workflow 8 AA301 Carl Sykes Ed Heaney.
2 Copyright © 2004, Oracle. All rights reserved. Running a Forms Developer Application.
Maintaining and Updating Windows Server 2008 Lesson 8.
De Rigueur - Adding Process to Your Business Analytics Environment Diane Hatcher, SAS Institute Inc, Cary, NC Falko Schulz, SAS Institute Australia., Brisbane,
1 Copyright © 2008, Oracle. All rights reserved. Repository Basics.
SQL Database Management
Running a Forms Developer Application
z/Ware 2.0 Technical Overview
Introduction to Visual Basic 2008 Programming
Presentation transcript:

a university for the world real R © 2009, Chapter 9 The Runtime Environment Michael Adams

a university for the world real R 2 © 2009, Topics Basic Operations Engine Internal Architecture Lifecycle Persistence & Logging

a university for the world real R 3 © 2009, Runtime In terms of the YAWL System, runtime is when: –the host server is operational –the Engine is running in its Servlet Container (e.g. Tomcat) and accepting requests to: load specifications start process instances (cases) check work items in and out process interface calls generate case and work item events handling case data mappings progressing cases as per their control flow

a university for the world real R 4 © 2009, Basic Operations The Engine will prepare work items for execution according to control-flow, but: –it is not responsible for how the work is performed; rather it delegates responsibility to a custom service –it knows nothing about users, but only of custom services –it is unconcerned with how work items are resourced It does manage two perspectives: –control-flow: determining which task(s) are enabled at certain times during the life-cycle of a process, based on flows, conditions, splits, joins and so on –data: mapping values to and from tasks and their parent nets, performing transformations and evaluating expressions using the specified XPath and XQuery predicates

a university for the world real R 5 © 2009, Process Specifications A specification is expressed as an XML document that describes the structure, format, data and layout of a process that has been expressed graphically in the Editor, and written when saved to file. Each specification is loaded into the Engine via Interface A. Once loaded, the Engine stores the specification until such time it is manually unloaded (which will only succeed if there are no process instances based on it currently running). The Engine can execute a number of cases at the same time, each one an instance of some specification –several versions of the same specification can be loaded at the same time

a university for the world real R 6 © 2009, The Case Management Form

a university for the world real R 7 © 2009, Engine Internal Architecture

a university for the world real R 8 © 2009, Engine Internal Architecture: The Kernel The Engine Kernel co-ordinates the various components, and manages interface communications. Through the Kernel, specifications are loaded, case instances are started and cancelled, work items are managed, services are registered and so on. The Kernel also takes care of the data-perspective, mapping values to and from tasks and their parent nets, evaluating XQuery predicates and storing those results.

a university for the world real R 9 © 2009, Engine Internal Architecture Specification Store: a repository of specifications (in XML) from which process instances are started Net Runner: progresses the control-flow of a net –each root net and each sub net of a case has its own Net Runner Work Item Repository: maintains cached, ordered sets of ‘live’ work items Case Monitor: tracks the status of all current cases –passes this data to services Timer Coordinator: manages expiry times and associated actions for all timed tasks –one Timer Coordinator within the Engine manages all timers for all tasks

a university for the world real R 10 © 2009, Engine Internal Architecture Service Register: maintains the set of currently registered custom services Session Manager: maintains active sessions between the Engine and custom services –manages the session handle for each service session Persistence Engine: manages runtime object persistence to permanent storage –All runtime requests to persist objects, and to retrieve objects from persistence, pass through this component. Case Restorer: when the Engine is (re)started, its job is to restore all the case instances that were running when the Engine was shutdown Event Logger: handles the logging of all process events

a university for the world real R 11 © 2009, The Service Management Form

a university for the world real R 12 © 2009, Lifecycle If a task definition has a decomposition, its work items are created to allow interaction with the external environment (i.e. custom services and applications) If there is no decomposition for a task (a so-called placeholder or empty task), the task is automatically created and immediately completed within the Engine When a case starts, and when each task within it completes, the Engine analyses the current state of the case to determine which task or tasks it should next make available for execution –in workflow net terms, it examines the current marking of the net to determine which transitions (tasks) have tokens in each of their input places (conditions), taking into account what type of join decorator (if any) the task has

a university for the world real R 13 © 2009, YAWL Case Lifecycle

a university for the world real R 14 © 2009, Work Item Lifecycle

a university for the world real R 15 © 2009, Persistence To guard against the potential loss of process information as a result of server downtime, all YAWL process instances may be persisted Data persistence means saving all data relevant to each executing process to permanent data storage (i.e. a disk) In the event of an outage, on restart the process can be ‘reconstituted’ from the stored data, and work can continue on the process as if the outage had not occurred In YAWL, persistence is configured on by default and recommended, although it can be configured off if desired

a university for the world real R 16 © 2009, Persistence For a successful restart, it is important that all the necessary data and descriptors of a process are stored, and can be reassembled from that stored data This requires that data be inserted, updated or removed at every event and milestone in the process life-cycle All relevant aspects of a process instance are persisted, and updated if those values change When an instance (case, task or token) completes, all references to it are removed from the persistence tables.

a university for the world real R 17 © 2009, Process Logging Process logging plays two fundamental roles: –it provides an audit trail of interactions between the workflow Engine and its environment; and –it represents a historical archive of process executions, which may later be analyzed for insights into the operation of specifications YAWL’s process logs detail: –each executing case from commencement to completion (or cancelation) –the enabling of each work item and each of its status changes through to completion (or cancelation) –all changes made to work item and net data values Configurable logging is supported, that is the logging of user-defined data attributes, values and descriptors associated with certain parts of the process data

a university for the world real R 18 © 2009, Process Logging

a university for the world real R 19 © 2009, Summary Basic Operations Engine Internal Architecture Lifecycle Persistence & Logging