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.
Difference between revisions of "Stardust/Enhancing and Embedding Stardust/Browser Modeler/BPMN Mapping"
(→Activities / Subprocesses) |
(→userTask) |
||
Line 143: | Line 143: | ||
'''Extension Elements/Attributes''' | '''Extension Elements/Attributes''' | ||
− | * | + | *[http://git.eclipse.org/c/stardust/org.eclipse.stardust.ide.git/tree/model/org.eclipse.stardust.model.bpmn2/src/main/java/org/eclipse/stardust/model/bpmn2/sdbpmn/StardustUserTaskType.java StardustUserTaskType] StardustUserTaskType (::StardustActivity) |
**interactiveApplicationRef -> BPMN Interface, see also [[#Interface|Interface]] | **interactiveApplicationRef -> BPMN Interface, see also [[#Interface|Interface]] | ||
Revision as of 08:30, 11 October 2012
Contents
- 1 BPMN 2.0 Elements
- 2 Callable Elements
- 3 Activities / Subprocesses
- 4 Tasks
- 5 Services
- 6 Data
- 7 Flow Control
- 8 Events
- 9 Resources
- 10 Processes Collaboration
- 11 Supporting Classes (Common Executable Conformance Sub-Class)
- 12 References
BPMN 2.0 Elements
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
- globalUserTask: see userTask
- globalManualTask: see manualTask
- globalScriptTask: see scriptTask
- globalBusinessRuleTask: see businessRuleTask
Activities / Subprocesses
Common Activity Extensions (Subprocess, Task etc.):
- TStardustActivity.java (::TStardustCommon TStardustCommon.java)
- EventHandlers
- HibernateOnCreation
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
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
Specific types
Process Call
GlobalTask Call
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
- StardustUserTaskType StardustUserTaskType (::StardustActivity)
- interactiveApplicationRef -> BPMN Interface, see also Interface
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
- StardustServiceTaskType (::StardustActivity, no further extensions) StardustServiceTaskType.java
sendTask
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
receiveTask
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
businessRulesTask
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
scriptTask
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
Services
Interface
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
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: full/partial
Mapping Description:
Transformation: available
Testmodel(s): .bpmn .bpmn
Attributes
Related Elements
Extension Elements/Attributes
eventBasedGateway
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
sequenceFlow
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
unconditionalSequenceFlow
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
uncontrolled Flow
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
conditionalSequenceFlow
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
defaultSequenceFlow
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
Events
Start Events
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
startEvent (None)
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
timerStartEvent
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
messageStartEvent
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
Intermediate Events
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
Catching message Intermediate Event
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
Throwing message Intermediate Event
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
Catching timer Intermediate Event
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
Boundary error Intermediate Event
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
End Events
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
endEvent (None)
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
messageEndEvent
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
terminateEndEvent
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
Resources
Resource
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
ResourceRole
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
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: available
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.