1 Cooperative Open Workflow Yvan Peter, Thomas Vantroys Laboratoire TRIGONE – Equipe Noce...

21
1 Cooperative Open Workflow Yvan Peter, Thomas Vantroys Laboratoire TRIGONE – Equipe Noce Université des Sciences et Technologies de Lille [email protected]

Transcript of 1 Cooperative Open Workflow Yvan Peter, Thomas Vantroys Laboratoire TRIGONE – Equipe Noce...

Page 1: 1 Cooperative Open Workflow Yvan Peter, Thomas Vantroys Laboratoire TRIGONE – Equipe Noce Université des Sciences et Technologies de Lille Yvan.Peter@univ-lille1.fr.

1

Cooperative Open Workflow

Yvan Peter, Thomas VantroysLaboratoire TRIGONE – Equipe Noce

Université des Sciences et Technologies de Lille

[email protected]

Page 2: 1 Cooperative Open Workflow Yvan Peter, Thomas Vantroys Laboratoire TRIGONE – Equipe Noce Université des Sciences et Technologies de Lille Yvan.Peter@univ-lille1.fr.

2ObjectWeb Workflow meeting - 9/12/03

Objectives• Accomodate different styles of

learning– Group based learning (similar to face to

face)– Individual learning (more oriented

toward lifelong learning)• Support cooperative work• Flexible management of learning

paths– every learner/group is different

• Reuse of activity/process models

Page 3: 1 Cooperative Open Workflow Yvan Peter, Thomas Vantroys Laboratoire TRIGONE – Equipe Noce Université des Sciences et Technologies de Lille Yvan.Peter@univ-lille1.fr.

3ObjectWeb Workflow meeting - 9/12/03

Objectives

Read coursematerial

Perform online test

Correction ofthe tests

Generaldiscussion

learner

learner

learner

tutor

tutor

May be individual work

Can be done as available

Collaborative activity

Page 4: 1 Cooperative Open Workflow Yvan Peter, Thomas Vantroys Laboratoire TRIGONE – Equipe Noce Université des Sciences et Technologies de Lille Yvan.Peter@univ-lille1.fr.

4ObjectWeb Workflow meeting - 9/12/03

Development framework

• Build on standards– XPDL from WfMC– WMF from OMG

• Based on EJB / J2EE– EJB 2.0, CMP for entities– XDoclet, Jonas

• Results as XML strings– SOAP support (integration with COM)– Can be used in multi-device

presentation layer

Page 5: 1 Cooperative Open Workflow Yvan Peter, Thomas Vantroys Laboratoire TRIGONE – Equipe Noce Université des Sciences et Technologies de Lille Yvan.Peter@univ-lille1.fr.

5

Architecture

Page 6: 1 Cooperative Open Workflow Yvan Peter, Thomas Vantroys Laboratoire TRIGONE – Equipe Noce Université des Sciences et Technologies de Lille Yvan.Peter@univ-lille1.fr.

6ObjectWeb Workflow meeting - 9/12/03

General architecture

• WMF interfaces implemented mostly as entities

• A set of sessions provide high level functions (task list, model modification, ...)

Page 7: 1 Cooperative Open Workflow Yvan Peter, Thomas Vantroys Laboratoire TRIGONE – Equipe Noce Université des Sciences et Technologies de Lille Yvan.Peter@univ-lille1.fr.

7ObjectWeb Workflow meeting - 9/12/03

General architecture

WfProcess(entity)

WfActivity(entity)

WfWorkItem(entity)

ProcessManager(session)

ActivityManager(session)

WorkItemManager(session)

Workflow engine

EJB containerServlet/JSPcontainer

HTML

JSP

Servlet

javaclass

RMI

HTTP

SOAP

Page 8: 1 Cooperative Open Workflow Yvan Peter, Thomas Vantroys Laboratoire TRIGONE – Equipe Noce Université des Sciences et Technologies de Lille Yvan.Peter@univ-lille1.fr.

8

Features

Page 9: 1 Cooperative Open Workflow Yvan Peter, Thomas Vantroys Laboratoire TRIGONE – Equipe Noce Université des Sciences et Technologies de Lille Yvan.Peter@univ-lille1.fr.

9ObjectWeb Workflow meeting - 9/12/03

Flexibility

• Modifications of the instance model– Add, remove, change : activities,

transitions, tools• Modification API (session facade)

• Modification of the interpretation of the model (engine behavior)– Strategies selection within process

instance model

Page 10: 1 Cooperative Open Workflow Yvan Peter, Thomas Vantroys Laboratoire TRIGONE – Equipe Noce Université des Sciences et Technologies de Lille Yvan.Peter@univ-lille1.fr.

10ObjectWeb Workflow meeting - 9/12/03

Flexibility

• Modifications done– Through a facade interface– Via an XML language (test in a tool then

change the model)

• No semantic control (yet…)

COW System

Basic Interface (WMF)

Meta interface

Page 11: 1 Cooperative Open Workflow Yvan Peter, Thomas Vantroys Laboratoire TRIGONE – Equipe Noce Université des Sciences et Technologies de Lille Yvan.Peter@univ-lille1.fr.

11ObjectWeb Workflow meeting - 9/12/03

Flexibility

Page 12: 1 Cooperative Open Workflow Yvan Peter, Thomas Vantroys Laboratoire TRIGONE – Equipe Noce Université des Sciences et Technologies de Lille Yvan.Peter@univ-lille1.fr.

12ObjectWeb Workflow meeting - 9/12/03

Group management

Activity 1Learn the course

Role: Learner

Activity 2Multiple choices

exercises

Role: Learner

Activity 3Correction

Role: Teacher

Processusindividuel

Activity 4Open discussion about thecourse and the exercises

Roles: Teacher & Learner

END

Activity 0sub process

Role: Learner

END

START

START

Page 13: 1 Cooperative Open Workflow Yvan Peter, Thomas Vantroys Laboratoire TRIGONE – Equipe Noce Université des Sciences et Technologies de Lille Yvan.Peter@univ-lille1.fr.

13ObjectWeb Workflow meeting - 9/12/03

Group management

Page 14: 1 Cooperative Open Workflow Yvan Peter, Thomas Vantroys Laboratoire TRIGONE – Equipe Noce Université des Sciences et Technologies de Lille Yvan.Peter@univ-lille1.fr.

14ObjectWeb Workflow meeting - 9/12/03

Time management

• Different types of time constraints– Deadline for starting and terminating an

activity– Minimum and maximum time to perform

an activity

• Pattern strategy used to handle that flexibly

• JMX timer used to check time constraints regularly– The strategy is applied if necessary

Page 15: 1 Cooperative Open Workflow Yvan Peter, Thomas Vantroys Laboratoire TRIGONE – Equipe Noce Université des Sciences et Technologies de Lille Yvan.Peter@univ-lille1.fr.

15ObjectWeb Workflow meeting - 9/12/03

Event notification

• Based on WMF *EventAudit• Stored as entities• JMS messages emitted only with

primary key and event type

Page 16: 1 Cooperative Open Workflow Yvan Peter, Thomas Vantroys Laboratoire TRIGONE – Equipe Noce Université des Sciences et Technologies de Lille Yvan.Peter@univ-lille1.fr.

16

Non standard parts...

... and why they do exist

Page 17: 1 Cooperative Open Workflow Yvan Peter, Thomas Vantroys Laboratoire TRIGONE – Equipe Noce Université des Sciences et Technologies de Lille Yvan.Peter@univ-lille1.fr.

17ObjectWeb Workflow meeting - 9/12/03

WMF modifications

Page 18: 1 Cooperative Open Workflow Yvan Peter, Thomas Vantroys Laboratoire TRIGONE – Equipe Noce Université des Sciences et Technologies de Lille Yvan.Peter@univ-lille1.fr.

18ObjectWeb Workflow meeting - 9/12/03

XPDL modifications

• Process / activities are defined in separate models

<Activity Id=‘START’> <Route/></Activity>

<WorkflowProcess> ...

<Activities> <ActivityLink Id=‘START’ URL=‘start’ /> ... <Transitions> <Transition Id=‘T0’ from=‘START’ to=‘A1’ ...> <Condition/> <Description/> </Transition>...

Page 19: 1 Cooperative Open Workflow Yvan Peter, Thomas Vantroys Laboratoire TRIGONE – Equipe Noce Université des Sciences et Technologies de Lille Yvan.Peter@univ-lille1.fr.

19ObjectWeb Workflow meeting - 9/12/03

XPDL modifications

• Either “standard activity” or explicit workitem definition

<Activity> ... <Implementation> <WorkItem Id=‘W1’ Name=‘WorkItem 1’ ...> <Performer> <Participant Id=‘R4’ Name=‘Etudiant’> <ParticipantType><ROLE/></ParticipantType> </Participant> </Performer> <Tool Id=‘QCM’ /> </WorkItem> ...

Page 20: 1 Cooperative Open Workflow Yvan Peter, Thomas Vantroys Laboratoire TRIGONE – Equipe Noce Université des Sciences et Technologies de Lille Yvan.Peter@univ-lille1.fr.

20ObjectWeb Workflow meeting - 9/12/03

XPDL modifications

• Time management– Deadlines

– Duration

<DeadLine> <StartDeadLine> <TimeOption> <Date>...</Date> </TimeOption> </StartDeadLine></DeadLine>

<Limit> <MinTime> <Date> ... </Date> </MinTime></Limit>

Page 21: 1 Cooperative Open Workflow Yvan Peter, Thomas Vantroys Laboratoire TRIGONE – Equipe Noce Université des Sciences et Technologies de Lille Yvan.Peter@univ-lille1.fr.

21ObjectWeb Workflow meeting - 9/12/03

Status

• Hosted on objectweb forge– http://forge.objectweb.org/projects/cow

• A technical component to be embedded• User interface being developed• Integration into OpenUSS e-learning

platform in progress