BPMN Modeling
CIB seven Modeler uses bpmn-js to render and edit BPMN 2.0 process diagrams.
Creating a New BPMN Diagram
- On the start page, open the folder the diagram belongs in (from 3.0.0 every model is filed in a folder, see Folders)
- Click Create BPMN
- The BPMN canvas opens with a default Start Event
Alternatively, you can import existing .bpmn files:
- Click Import local file and choose one or more files, or drop them on the start page
- The diagram is parsed and saved to the database; a diagram with the same process key in the same folder can be overwritten when prompted (see Folders)
The type filter next to the search field narrows the list of the start page to BPMN, DMN or Forms; All shows every type again.
Editing a Diagram
Canvas Operations
| Action | How to |
|---|---|
| Add element | Drag from the palette on the left, or click an existing element and use the context menu |
| Move element | Drag the element to the desired position |
| Connect elements | Hover over a source element, then drag from the blue arrow to the target |
| Delete element | Select and press Delete or Backspace |
| Undo / Redo | Ctrl+Z / Ctrl+Y |
| Zoom | Mouse wheel or the zoom controls in the toolbar |
| Fit to screen | Click the fit-to-screen icon in the toolbar |
Properties Panel
The properties panel on the right can be collapsed to give the canvas full width. A toggle strip on the left edge of the panel acts as a show/hide button:
- Click it to collapse the panel — the canvas expands to fill the full available width and the resize handle is hidden
- Click it again to expand the panel — it returns to its previous width
The properties panel allows you to configure the selected element:
- General — ID, Name, Documentation
- Implementation — Service task type, connector configuration
- Multi-instance — Loop characteristics
- Listeners — Execution and task listeners
- Input/Output — Variable mappings
- Element Templates — Bind a element template to apply a preset configuration
Saving a Diagram
Changes are saved automatically when you:
- Click Save in the toolbar
- Deploy the diagram (triggers an implicit save)
The raw BPMN XML is stored in the mod_processes_diagrams table. You can also download the diagram as a .bpmn file at any time via Download BPMN diagram in the toolbar.
Deploying to CIB seven Engine
Once your diagram is ready, click Deploy in the toolbar. The Deploy diagram dialog offers:
| Option | Effect |
|---|---|
| Deployment name | The name of the deployment, as shown in the deployments view. It does not have to match the process key |
| Process to start | Which process Start process starts. Shown when the diagram has more than one executable process. From 3.0.0 |
| Tenant ID | Deploys for this tenant. Leave it empty to deploy without a tenant |
| Additional files | Further resources deployed together with the diagram in one deployment, such as forms or scripts. Their resource names must match the references in the diagram. Add form searches the forms saved in the modeler (from three characters on) and adds one; a form the diagram references (camunda:formRef) is added by itself, see Folders |
| Deploy in another instance | Deploys to the CIB seven instance at the URL you enter instead of the one the webclient is connected to. That instance never receives your session: As another user is switched on and locked, and you enter a user name and password, or a token, for it. From 3.1.0 |
| As another user | Deploys with a user name and password, or a token, instead of as the user who is logged in |
Deploy creates the deployment. Start process deploys and then starts a new instance of the chosen process; it is disabled when the process is marked as not executable. The dialog warns, without blocking, when another model in the modeler uses the same process key, see Folders.
Engine connection required
Deployment requires a running CIB seven engine: the one the webclient is connected to, or the instance named under Deploy in another instance.
XML Editor
Click the XML tab to switch from the graphical canvas to the Monaco Editor XML view. This is useful for:
- Bulk editing or searching the raw BPMN XML
- Pasting in XML from external sources
- Debugging namespace or attribute issues
Switching back to the canvas view re-renders the diagram from the current XML.
Supported BPMN Elements
CIB seven Modeler supports the full BPMN 2.0 palette as implemented by bpmn-js, including:
- Events (Start, Intermediate, End — all types)
- Tasks (User, Service, Script, Business Rule, Send, Receive, Manual, Call Activity, Sub-Process)
- Gateways (Exclusive, Inclusive, Parallel, Event-based, Complex)
- Sequence Flows, Message Flows, Data Objects, Pools, Lanes, Groups, Annotations