This document explains how to use the Processeditor to create PCM models. A PCM-Process can be described by many PCM fragments and one PCM scenario.
Currently you need both, the Processeditor Workbench and the Processeditor Server to model and Save PCM. You will use the Workbench for modeling and the Server as a global repository.
PCM Fragments are small Business Process models. They can be modeled using a subset of the BPMN-Notation:
- Tasks
- Events
- Blanko Start-Event
- Blanko End-Event
- Gateways
- Parallel Gateway
- Exclusive Gateway
- Data Objects
- Sequence Flow
- Data Flow
All these elements are offered by the model type PCM Fragment.
PCM allows using the same task in more than one fragment. To do so
- model the Task (in one scenario)
- Save the model to the repository
- Right click on the Task and choose Properties
- Set the global flag
- In another Fragment right click on any node
- Choose "Copy and Refer Task"
- Connect to the server if necessary
- Choose the Model and the Task you want to refer
- Click on Ok
A Scenario defines which PCM Fragments are part of one Process. All PCM Fragments have to be saved on the Server. You can alter the Scenario only by moving the nodes and adding/removing PCM Fragments.
- Create a new PCM Scenario Model.
- Right Click on one of the two nodes
- Choose Add Fragments
- Mark all Models you want to add in the left List (CTRL for multi select)
- click on add than on ok
Now there should be entries for all the fragments (inside green node) and for all their data objects (inside white node).
- Right Click on one of the two nodes
- Choose Add Fragments
- Select all the models you want to remove from the right list
- Click on Remove than click Ok
You can select Domain Models published on a server as a data model for a scenario.
- Right click on the canvas
- Choose Properties
- Insert the url to the Domain Model in the property DomainModelURI
Each data object can be associated to a data class inside a domain model. If the model should be executable you have to assert, that the classes are part of the domain model assigned to the scenario.
- Right click on a Data Object Node
- Choose Properties
- Click on the button next to Data Class
- Click on Fetch
- Select a Domain Model
- Select the Class to be refered
- Click on Ok
If a termination condition is full filled the process is terminated. Currently only one termination condition consisting of one Data Object in one specific state is possible.
- Open your Scenario
- Right Click on the canvas (not the Nodes)
- Choose Properties
- Fill out the Termination Data Object and Termination State fields