Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jwt-dev] Samples, BPMN-JWT transformation, new committers, etc.

Hi Marc,

first of all its good to hear that Loic and Guillaume will now support us in
the JWT project. That's great news! I'm looking forward to work with them
and maybe meet them (and you) somewhen.

Looking at your SCOrWare JWT-BPMN translation I found the several things:

Validation and normalization:
Yes, thats an important point and should be considered in the future. I
currently have a student working on a diploma thesis on the validation of
process models. Maybe his defined concepts can be included into JWT in the
future. Or does somebody have already an existing validation framework that
might be easily adapted to JWT?

Pools and Lanes in BPMN and JWT:
You said you contradict to Augsburg concerning pools and lanes and their
correspondance in JWT. I also had a look into the document [1] and found
there "A Pool represents a participant", but on the other hand he writes
"Lanes are often used to separate the activities with a specific [...]
However in the BPMN-spec (v1.0, May 2004) I found that "The meaning of lanes
is up to the modeler. [...] Lanes are often used for such things as internal
roles (e.g. Manager, Associate), systems [...]. There could be an outer set
of lanes for company departments and then an inner set of lanes for roles
within the department". Hmm, so now it's up to us, how we define it. As the
BPMN spec says we could use the lanes for OrganisationUnits (departments)
and for roles, but pools normally describe the participants in a process.
I guess, if we have several companies then we would have several pools and
the companies correspond to each other using MessageFlows. Inside one
company we would have several roles and these roles are directly connected
by ActivityEdges and describe the process of one company.
So, if somebody models only one process (one InitialNode or FinalNode, one
following thread), then I would suggest to transform that into one pool with
several lanes: each lanes for each role in the process.
If there are more threads in the process (each starting with an own
InitialNode and FinalNode and there is no connection between these two
threads) then we would have two pools with several lanes inside. However,
then we don't have the possibility to model the message flow between these
two "companies".
So either we include something like a MessageFlow in the next version of JWT
or we find another strategy. Any ideas from the community?

Events in JWT:
You asked "TODO what do mean incoming edges ??, TODO what does mean a JWT
Activity's eventHandler ??". In JWT we created the abstract concept of
Events, so we can make more precise sub events later. So if some event of
BPMN is needed in JWT, we can easily add it. In BPMN there is a distinction
between StartEvent, IntermediateEvent and EndEvent. This means for an event
with an incoming edge, that there were process actions before and now there
must be an additional event from the outside before the process could
continue. We also added the Activity.EventHandler, but this has no function
till now. We wanted to add more here, but are still in the progress to. So,
if there are specific ideas what should be included, please don't hesitate
and let us know.

DataMapping in AgilPro:
The general idea behind this was that if we have action 'A' and action 'B'
and both produce a data named 'x' as output then it might be possible that a
third action 'C' needs these two actions as input. For example, let 'x' be
the date of a business trip and action 'A' returns the start date and action
'B' the end date. Action 'C' now executes a web service to find some
flights. Therefore, it needs the start date and the end date. But both are
named with 'x'. So, there must be a possibility to map the given data
parameters to the parameters of the application (or web service) in order to
invoke the web service correctly with start date as first parameter and end
date as second parameter.
However, alas this data mapping is not used till now. Right now only the
data are specified and no parameters, so the data mapping is of little use.
But I guess coming into the web service world (SOA, SCA, etc.) there will be
the need to have something like a data mapping.

I'm not completely sure what you mean by JWT Groups. Where do you have this
concept from?

It's correct that JWT does not support OR-nodes. However, I guess its also
difficult for a process engine to decide whether to execute two threads or
only one thread. Most process engines will only support exclusive choices, I
guess. Am I right here? E.g. BPEL does not support inclusive choices.

Concerning the people I met at Eclipse Summit Europe who were interesting in
the JWT-project: that was somebody from ESI in Spain, one guy of the DLR
(German Aerospace Center) and a company named Sopera (Swordfish-project)
which I will meet next week again.

Concerning the idea of an JWT FAQ: that would be great. But I guess before
we should have the plugin available on our JWT-homepage, so people can test
the JWT WE and ask questions ;-)

Thanks a lot for the example process. Looks perfect. However, I did only
look at the JWT processes, but not the one from BPMN.

I hope the answers above did help you. If you have any further questions or
actions we should take, please don't hesitate to contact me again.

Best regards,



-----Ursprüngliche Nachricht-----
Von: Marc Dutoo [mailto:marc.dutoo@xxxxxxxxxxx] 
Gesendet: Mittwoch, 14. November 2007 19:30
An: Stéphane DRAPEAU; Florian Lautenbacher
Cc: Etienne Juliot
Betreff: JWT to BPMN translation - first spec and samples

Hello all

Here is my first take on JWT to BPMN translation detailed spec and samples.
You'll find in this mail (content or attachments) :
   * a first sample JWT process : transformation_sample_3_approval_frompp
   * its translated STP BPMN files : 
transformation_sample_3_approval_frompp (without annotations yet however)
   * my analysis of JWT to BPMN translation, whose goal is to be the basis
of a translation algo. What about putting this on the wiki ?
   * Florian's answers to some questions of mine, that could be the first
step towards a "How to build processes in JWT" FAQ. What about putting this
on the wiki ?

Next steps :
   * MDU : adding annotations to the STP BPMN process (though how they are
obtained is already spec'd)
   * MDU : completing my second sample, writing a third one
   * everyone : sort out the last indecisions in translation behaviour (see
below first, and in attachments)
   * SDR : work on the translation ^^
   * FLA : look at all that, help out whenever it is useful (thanks for
cleaning my process)


PS indecisions to be closed out (see details in attached SCOrWareJwtBpmn) :
   * JWT eventHandler
   * JWT Data mapping : this I left out for now. Its meaning and use should
be made clearer.
   * at a lower level, about JWT events
   * I do not agree with the Augsburg proposed mapping for pool & lane,
rather "Pools represent participants, lane are for categorizing activities".
   * I do not agree with the Augsburg proposed mapping Application to
special BPMN DataObjects

Back to the top