Skip to main content

Notice: This Wiki is now read only and edits are no longer 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"

(BPMN 2.0 Elements)
Line 1: Line 1:
 
= BPMN 2.0 Elements  =
 
= BPMN 2.0 Elements  =
 +
==Foundation==
 +
===baseElement===
 +
 +
'''Attributes'''
 +
*id: generally mapped to Stardust element-id.
 +
 +
'''Related Elements'''
 +
*documentation [Documentation]: See [[#Documentation|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.
 +
 +
===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|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 [http://git.eclipse.org/c/stardust/org.eclipse.stardust.ide.git/tree/model/org.eclipse.stardust.model.bpmn2/model/StardustBPMN20.xsd StardustBPMN20.xsd])
 +
**oid
 +
**modelOID
 +
**author
 +
**created
 +
**carnotVersion
 +
**vendor
  
 
= Callable Elements  =
 
= Callable Elements  =

Revision as of 03:13, 12 October 2012

BPMN 2.0 Elements

Foundation

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.

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

Callable Elements

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

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.):

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

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

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

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

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

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

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

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


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

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 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

Endpoints

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


Data

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

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

Flow Control

Gateways

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

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


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

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


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


unconditionalSequenceFlow

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


Events

Start Events

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


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

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

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

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

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

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

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

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

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

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

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

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

Lanes

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 [[#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