Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Stardust/Enhancing and Embedding Stardust/Browser Modeler/BPMN Mapping"

Line 21: Line 21:
 
'''see also:''' link(s) to related or supporting elements providing more  
 
'''see also:''' link(s) to related or supporting elements providing more  
  
'''Attributes:''' usage / mapping of BPMN element attributes
+
'''Attributes:''' usage / mapping of BPMN element attributes. In general, only the element-specific attributes are considered (not inherited from upper classes).
  
 
'''Related Elements:''' usage / mapping of BPMN element model associations  
 
'''Related Elements:''' usage / mapping of BPMN element model associations  

Revision as of 04:33, 18 October 2012

This page documents how Stardust relates to and supports BPMN 2.0 with respect to a) modeling support (browser modeler) and b) engine support (i.e. transformation of BPMN 2.0 XML into the Stardust object model).

The description targets the graphical BPMN elements as well as several supporting elements basically not visible in a process model.

The following aspects/items are provided for each (if applicable):

Spec: a hint on where to find a description in the BPMN 2.0 specification (i.e. class model and attributes/relations)

BPMN Modelling Conformance Subclasses: the conformance subclasses to which the element belongs (cp. chapter 2 of the BPMN 2.0 specification)

Modeler support: whether/how the browser modeler supports the corresponding element

Stardust Support: extent of execution support / limitations.

Mapping Description: which stardust element or configuration/construct corresponds to the BPMN element (i.e. how to reach the intended behaviour or functionality)

Transformation: current state of transformation

Testmodel(s): link(s) to BPMN XML testmodels (with Stardust extensions, if available) with corresponding elements

see also: link(s) to related or supporting elements providing more

Attributes: usage / mapping of BPMN element attributes. In general, only the element-specific attributes are considered (not inherited from upper classes).

Related Elements: usage / mapping of BPMN element model associations

Extension Elements/Attributes: extensions to BPMN for Stardust specific information and links to object model classes, if available (note '::<super>' is used to indicate a superclass)

Specific types: list of more specific elements / subclasses not yet described separately



Callable Elements

BPMN process

Spec: OMG p.146f

Stardust Support: full

Mapping Description: BPMN processes correspond to processes in Stardust.

Transformation: partial (related elements missing)

Testmodel(s): e.g. CollapsedSubprocess.bpmn (any testmodel contains at least one process).

see also: callActivity

Related Elements

  • Auditing: tbd
  • Monitoring: tbd
  • Property: Stardust Variable (Data)
  • Resource role: tbd
  • Artifact: tbd
  • CorrelationSubscription: tbd
  • Interface: tbd


BPMN globalTask

Spec: OMG p.187f

BPMN Modelling Conformance Subclasses: -

Stardust Support: partial

Mapping Description: BPMN Global Tasks are not directly available in Stardust, however, a process with a corresponding 'global task' can be generated.

Transformation: TODO

Task call: see callActivity

Related Elements

  • Property: Stardust Variable (Data)
  • Resource role: tbd
  • Interface: tbd

Specific types


Activities / Subprocesses

Common Activity Extensions (Subprocess, Task etc.):


BPMN subProcess

Spec: OMG p.173f

BPMN Modelling Conformance Subclasses: Executable (expanded) / Descriptive / Analytic

Stardust Support: partial (collapsed subprocesses)

Mapping Description: BPMN Sub-Processes correspond to Stardust Sub-Processes. In Stardust, subprocess-activities call a process whilst BPMN subprocesses contain their process elements (i.e. they are flow element containers). However, by specifying the called process in stardust as 'synchronous with shared data', the behaviour and even data visibility are similar to BPMN.

Transformation: available

Testmodel(s): CollapsedSubprocess.bpmn

Related Elements

Specific types

  • AdHocSubprocess: tbd
  • EventSubprocess: tbd


BPMN callActivity

Activity

Spec: OMG p.183f,

BPMN Modelling Conformance Subclasses: Executable / Descriptive / Analytic

Stardust Support: partial (no direct call of GlobalTask)

Mapping Description: Call Activities correspond to the Stardust Subprocess Activity, whereas the configuration differs from a default Subprocess call (cp. BPMN Sub-Process) with respect to the data visibility (i.e. separate data).

Transformation: todo

Testmodel(s): todo .bpmn .bpmn

Attributes

  • none

Related Elements

  • calledElement [CallableElement]

Extension Elements/Attributes

  • tbd (::StardustActivity)


Process Call

Mapping Description: The Stardust Sub-process Activity synchronously calls a process with separate data (i.e. process parameters / input-/output-paths are used, mapped to BPMN Process DataInput/DataOutput elements).

Transformation: todo


GlobalTask Call

Mapping Description: Global tasks are transformed to Stardust Processes containing an Activity that corresponds to the GlobalTask (see globalTask). The call then works similar to Process Call.

Transformation: todo


Tasks

BPMN Task (Abstract / None)

Spec: OMG p.156f

BPMN Modelling Conformance Subclasses: Descriptive / Analytic

Stardust Support: full

Mapping Description: BPMN unspecific task is not executable. It is mapped to a Route Activity in Stardust.

Transformation: available

Testmodel(s): AbstractTask.bpmn


BPMN userTask

Spec: OMG p.163,

BPMN Modelling Conformance Subclasses: Executable / Descriptive / Analytic

Stardust Support: full

Mapping Description: BPMN user tasks correspond to Stardust Manual Activities or Interactive Activites respectively.

Transformation: available

Testmodel(s): Stardust Manual Activity (with performers): UserTask.bpmn, Stardust Interactive Task: UserTaskWebApp.bpmn

Attributes

  • implementation: Manual Activity=“##unspecified", JSP=http://java.sun.com/JSP/Page, JSF=http://java.sun.com/jsf, JFC= http://java.sun.com/jfc

Related Elements

  • resources [ResourceRole]: Stardust Participant (if ResourceRole type Performer). See also Resources
  • Rendering: not used (see extension)

Extension Elements/Attributes


BPMN serviceTask

Spec: OMG p.158f,

BPMN Modelling Conformance Subclasses: Executable / Descriptive / Analytic

Stardust Support: full (WebServices, Plain Java, Spring Beans, Transformation, Parsing, DMS Operation...)

Mapping Description: BPMN service tasks are mapped to Stardust (non-interactive) application tasks.

Transformation: available

Testmodel(s): Webservice call: ServiceTaskWebServiceApp.bpmn

Attributes

  • implementation: ("##unspecified"), "#WebService", tbd: url's specifying the implementation type. Not used for execution.

Related Elements

  • operationRef [Operation]: used to identify the Interface holding the application details (see Interface)

Extension Elements/Attributes


BPMN sendTask

Spec: OMG p.,

BPMN Modelling Conformance Subclasses: (Executable / Descriptive / Analytic)

Stardust Support: full/partial

Mapping Description:

Transformation: todo

Testmodel(s): .bpmn .bpmn

Attributes

Related Elements

Extension Elements/Attributes


BPMN receiveTask

Spec: OMG p.,

BPMN Modelling Conformance Subclasses: (Executable / Descriptive / Analytic)

Stardust Support: full/partial

Mapping Description:

Transformation: todo

Testmodel(s): .bpmn .bpmn

Attributes

Related Elements

Extension Elements/Attributes


BPMN businessRulesTask

Spec: OMG p.,

BPMN Modelling Conformance Subclasses: (Executable / Descriptive / Analytic)

Stardust Support: full/partial

Mapping Description:

Transformation: todo

Testmodel(s): .bpmn .bpmn

Attributes

Related Elements

Extension Elements/Attributes



BPMN scriptTask

Spec: OMG p.,

BPMN Modelling Conformance Subclasses: (Executable / Descriptive / Analytic)

Stardust Support: full/partial

Mapping Description:

Transformation: todo

Testmodel(s): .bpmn .bpmn

Attributes

Related Elements

Extension Elements/Attributes



Services

BPMN Interface

Spec: OMG p.104f,

BPMN Modelling Conformance Subclasses: -

Stardust Support: based on extensions

Mapping Description: "An Interface defines a set of operations that are implemented by Services" (OMG p.104). Therefore the Interface element is used as container (see extension element StardustInterfaceType below) for the Stardust application specification. As Stardust has a variable concept for different kinds of applications (including a concept of 'accesspoints' e.g. exceeding the interface exposed by WSDL operations), the extension bases on the internal Stardust Object model.

Transformation: available

Testmodel(s): WebService Task: ServiceTaskWebServiceApp.bpmn, Interactive UserTask: UserTaskWebApp.bpmn, Message Events MessageEvents.bpmn

Attributes

  • name: Application Name

Related Elements

  • operations [Operation]: only used to reference from Activities
  • callableElements[CallableElement]: not used
  • implementationRef [Element]: dummy usage - references the nested extension element (StardustApplicationType)

Extension Elements/Attributes


BPMN Endpoint

Spec: OMG p.105,

BPMN Modelling Conformance Subclasses: -

Stardust Support: no

Mapping Description: Endpoint is an extensionpoint for service addresses related to BPMN participants. There is no correspondance in Stardust. The service addressing is contained in the application configuration (see Interface extension).

Transformation: N/A

Testmodel(s): N/A

Attributes none (in addition to baseElement)

Related Elements none (in addition to baseElement)



Data

BPMN dataObject

Spec: OMG p.,

BPMN Modelling Conformance Subclasses: (Executable / Descriptive / Analytic)

Stardust Support: full/partial

Mapping Description:

Transformation: available

Testmodel(s): .bpmn .bpmn

Attributes

Related Elements

Extension Elements/Attributes


BPMN dataAssociation

Spec: OMG p.,

BPMN Modelling Conformance Subclasses: (Executable / Descriptive / Analytic)

Stardust Support: full/partial

Mapping Description:

Transformation: available

Testmodel(s): .bpmn .bpmn

Attributes

Related Elements

Extension Elements/Attributes


Gateways

BPMN exclusiveGateway

Spec: OMG p.,

BPMN Modelling Conformance Subclasses: (Executable / Descriptive / Analytic)

Stardust Support: full/partial

Mapping Description:

Transformation: available

Testmodel(s): .bpmn .bpmn

Attributes

Related Elements

Extension Elements/Attributes


BPMN parallelGateway

Spec: OMG p.,

BPMN Modelling Conformance Subclasses: (Executable / Descriptive / Analytic)

Stardust Support: full/partial

Mapping Description:

Transformation: available

Testmodel(s): .bpmn .bpmn

Attributes

Related Elements

Extension Elements/Attributes



BPMN inclusiveGateway

Spec: OMG p.,

BPMN Modelling Conformance Subclasses: (Executable / Descriptive / Analytic)

Stardust Support: partial (converging only)

Mapping Description:

Transformation: todo

Testmodel(s): .bpmn .bpmn

Attributes

Related Elements

Extension Elements/Attributes


BPMN eventBasedGateway

Spec: OMG p.,

BPMN Modelling Conformance Subclasses: (Executable / Descriptive / Analytic)

Stardust Support: NO - REQUIRES CORE EXTENSION

Mapping Description:

Transformation: todo

Testmodel(s): .bpmn .bpmn

Attributes

Related Elements

Extension Elements/Attributes


Sequence Flows

BPMN sequenceFlow

Spec: OMG p.,

BPMN Modelling Conformance Subclasses: (Executable / Descriptive / Analytic)

Stardust Support: full

Mapping Description:

Transformation: available

Testmodel(s): .bpmn .bpmn

Attributes

Related Elements

Extension Elements/Attributes



unconditional SequenceFlow

Spec: OMG p.,

BPMN Modelling Conformance Subclasses: (Executable / Descriptive / Analytic)

Stardust Support: full

Mapping Description:

Transformation: available

Testmodel(s): .bpmn .bpmn

Attributes

Related Elements

Extension Elements/Attributes


uncontrolled Flow

Spec: OMG p.,

BPMN Modelling Conformance Subclasses: (Executable / Descriptive / Analytic)

Stardust Support: full

Mapping Description:

Transformation: available

Testmodel(s): .bpmn .bpmn

Attributes

Related Elements

Extension Elements/Attributes



conditionalSequenceFlow

Spec: OMG p.,

BPMN Modelling Conformance Subclasses: (Executable / Descriptive / Analytic)

Stardust Support: full

Mapping Description:

Transformation: available

Testmodel(s): .bpmn .bpmn

Attributes

Related Elements

Extension Elements/Attributes



defaultSequenceFlow

Spec: OMG p.,

BPMN Modelling Conformance Subclasses: (Executable / Descriptive / Analytic)

Stardust Support: full

Mapping Description:

Transformation: available

Testmodel(s): .bpmn .bpmn

Attributes

Related Elements

Extension Elements/Attributes



Start Events

BPMN startEvent (None)

Spec: OMG p.,

BPMN Modelling Conformance Subclasses: (Executable / Descriptive / Analytic)

Stardust Support: full

Mapping Description:

Transformation: available

Testmodel(s): .bpmn .bpmn

Attributes

Related Elements

Extension Elements/Attributes


BPMN timerStartEvent

Spec: OMG p.,

BPMN Modelling Conformance Subclasses: (Executable / Descriptive / Analytic)

Stardust Support: full

Mapping Description:

Transformation: available

Testmodel(s): .bpmn .bpmn

Attributes

Related Elements

Extension Elements/Attributes


BPMN messageStartEvent

Spec: OMG p.,

BPMN Modelling Conformance Subclasses: (Executable / Descriptive / Analytic)

Stardust Support: full (JMS, E-Mail)

Mapping Description:

Transformation: available

Testmodel(s): .bpmn .bpmn

Attributes

Related Elements

Extension Elements/Attributes


Intermediate Events

BPMN Catching message Intermediate Event

Spec: OMG p.,

BPMN Modelling Conformance Subclasses: (Executable / Descriptive / Analytic)

Stardust Support: full (JMS)

Mapping Description:

Transformation: available (JMS)

Testmodel(s): .bpmn .bpmn

Attributes

Related Elements

Extension Elements/Attributes


BPMN Throwing message Intermediate Event

Spec: OMG p.,

BPMN Modelling Conformance Subclasses: (Executable / Descriptive / Analytic)

Stardust Support: full (JMS, E-Mail)

Mapping Description:

Transformation: available (JMS)

Testmodel(s): .bpmn .bpmn

Attributes

Related Elements

Extension Elements/Attributes


BPMN Catching timer Intermediate Event

Spec: OMG p.,

BPMN Modelling Conformance Subclasses: (Executable / Descriptive / Analytic)

Stardust Support: full/partial

Mapping Description:

Transformation: todo

Testmodel(s): .bpmn .bpmn

Attributes

Related Elements

Extension Elements/Attributes


BPMN Boundary error Intermediate Event

Spec: OMG p.,

BPMN Modelling Conformance Subclasses: (Executable / Descriptive / Analytic)

Stardust Support: full/partial

Mapping Description:

Transformation: todo

Testmodel(s): .bpmn .bpmn

Attributes

Related Elements

Extension Elements/Attributes


End Events

BPMN endEvent (None)

Spec: OMG p.,

BPMN Modelling Conformance Subclasses: (Executable / Descriptive / Analytic)

Stardust Support: no (only graphical)

Mapping Description:

Transformation: N/A

Testmodel(s): .bpmn .bpmn

Attributes

Related Elements

Extension Elements/Attributes


BPMN messageEndEvent

Spec: OMG p.,

BPMN Modelling Conformance Subclasses: (Executable / Descriptive / Analytic)

Stardust Support: full (JMS, E-Mail)

Mapping Description:

Transformation: available (JMS)

Testmodel(s): .bpmn .bpmn

Attributes

Related Elements

Extension Elements/Attributes


BPMN terminateEndEvent

Spec: OMG p.,

BPMN Modelling Conformance Subclasses: (Executable / Descriptive / Analytic)

Stardust Support: full/partial

Mapping Description: tbd

Transformation: todo

Testmodel(s): .bpmn .bpmn

Attributes

Related Elements

Extension Elements/Attributes


Resources

BPMN Resource

Spec: OMG p.,

BPMN Modelling Conformance Subclasses: (Executable / Descriptive / Analytic)

Stardust Support: full/partial

Mapping Description:

Transformation: available (roles/organisations/conditional performer)

Testmodel(s): .bpmn .bpmn

Attributes

Related Elements

Extension Elements/Attributes


BPMN ResourceRole

Spec: OMG p.,

BPMN Modelling Conformance Subclasses: (Executable / Descriptive / Analytic)

Stardust Support: full/partial

Mapping Description:

Transformation: available (performer)

Testmodel(s): .bpmn .bpmn

Attributes

Related Elements

Extension Elements/Attributes


Performer

Spec: OMG p.,

BPMN Modelling Conformance Subclasses: (Executable / Descriptive / Analytic)

Stardust Support: full/partial

Mapping Description:

Transformation: available

Testmodel(s): .bpmn .bpmn

Attributes

Related Elements

Extension Elements/Attributes


Human Performer
Potential Owner

Processes Collaboration

BPMN Participant

Spec: OMG p.,

BPMN Modelling Conformance Subclasses: (Executable / Descriptive / Analytic)

Stardust Support: full/partial

Mapping Description:

Transformation: todo

Testmodel(s): .bpmn .bpmn

Attributes

Related Elements

Extension Elements/Attributes


BPMN Lanes

Foundation

BPMN baseElement

Attributes

  • id: generally mapped to Stardust element-id.

Related Elements

  • documentation [Documentation]: See Documentation.
  • extensionDefinitions: Not used, as the transformation relies on XML Schema based interchange.
  • extensionValues: Not used, as the transformation relies on XML Schema based interchange.


BPMN Documentation

Mapping description: The content of documentations is used as description of Stardust elements. As BPMN foresees multiple documentations for most elements, the text is concatenated.

Attributes

  • text: Stardust description.
  • textFormat: not used (only plain text supported).


Common attributes

In addition to id and documentation (from baseElement), most elements have a name attribute (not 'globally' inherited) which is also available for Stardust elements.


Infrastructure

Definitions

Mapping Description: The root element of the BPMN Document corresponds to a Stardust Model. It may contain several processes, data structures, imports etc.

Transformation: available

Attributes

  • targetNamespace: not transformed (XML specific).
  • expressionLanguage: not used (supported expression languages are declared in specific expression elements) - tbd
  • typeLanguage: not used (default = XML Schema is supported)
  • exporter: unused (may be set for export)
  • exporterVersion: unused (may be set for export)

Related Elements

  • relationships: tbd
  • imports: XML Schema and WSDL imports supported, further: tbd.
  • rootElements: for modelling
  • diagrams: for modelling
  • extensions: unused (relies on XSD based extensions)


Extension Elements/Attributes

  • attributeGroup ModelAttributes (see StardustBPMN20.xsd)
    • oid
    • modelOID
    • author
    • created
    • carnotVersion
    • vendor


Supporting Classes (Common Executable Conformance Sub-Class)

Spec.: cp. OMG p.7

  • StandardLoopCharacteristics (id, loopCondition): Stardust Loop (While|Repeat with Loop Condition) (Todo)
  • MultiInstanceLoopCharacteristics (id, isSequential, loopDataInput, inputDataItem): no direct support - tbd
  • Rendering: not used (cp. userTask)
  • Resource (id, name): Performer (see userTask and Resource)), further resources: tbd
  • ResourceRole (id, resourceRef, resourceAssignmentExpression): Performer (see userTask and ResourceRoles))
  • InputOutputSpecification (id, dataInputs, dataOutputs): Task Data Flow (see Data)
  • DataInput (id, name, isCollection, itemSubjectRef): Data Flow (see Data)
  • DataOutput (id, name, isCollection, itemSubjectRef): Data Flow (see Data)
  • ItemDefinition (id, structure or import) [XSD Complex Type structure]: Data Flow (see Data)
  • Operation (id, name, inMessageRef, outMessageRef, errorRefs): Applications / Interactive Applications (see serviceTask, userTask, (Message-) Events)
  • Message (id, name, structureRef): not used for execution.
  • Error (id, structureRef): tbd
  • Assignment (id, from, to): used for Stardust DataMapping (Application Tasks / Interactive Tasks), ParameterMapping (Triggers) (see dataAssociation
  • MessageEventDefinition (id, messageRef, operationRef): operationRef only (see (Message-) Events
  • TerminateEventDefinition (id): tbd
  • TimerEventDefinition (id, timeDate): timeDate plus timeCycle plus stopTime extension (see [[#BPMN timerStartEvent|timerStartEvent])


References

OMG2011: Business Process Model and Notation (BPMN), Version 2.0, formal/2011-01-03, available from http://www.omg.org/spec/BPMN/2.0/ Notice: The pages referred to primarily indicate where attributes and the object model are described. Further information about specific elements (e.g. execution semantics etc.) may be found elsewhere in the specification.

Back to the top