VOOZH about

URL: https://www.mediawiki.org/wiki/Extension:Cognitive_Process_Designer

⇱ Extension:Cognitive Process Designer - MediaWiki


Jump to content
From mediawiki.org
👁 Image
This extension is mainly supported in an external venue: BlueSpice Community Forum.
If you need help, you should post there, and not on the talk page.
MediaWiki extensions manual
👁 Image
CognitiveProcessDesigner
Release status: stable
👁 Image
Implementation Page action, Ajax, Special page
Description Draw BPMN processes with a graphical user interface in Semantic MediaWiki
Author(s) Tobias Weller, Maria Maleshkova, Alexander Pinchuk, Hallo Welt! GmbH
Maintainer(s) Hallo Welt! GmbH
Latest version Ongoing releases
Compatibility policy For every MediaWiki release that is a Long Term Support release there is a corresponding branch in the extension.
MediaWiki 1.43 (LTS)
Licence GNU General Public License 3.0 only
Download
Translate the Cognitive Process Designer extension if it is available at translatewiki.net
👁 Image
 Community Forum


The Cognitive Process Designer extension supports the creation of BPMN (Business Process Model and Notation) processes by using an intuitive GUI (graphical user interface).

It is based on bpmn.io, an open source project by Camunda. Bpmn.io is an JavaScript renderer that allows to model BPMN processes and to check the syntax.

Functionality

[edit]
  • The extension introduces a dedicated content type CPD.
  • Processes are stored in a decicated process namespace (PROC, 1530).
  • A linter checks for errors before the diagram can be saved.
  • When saving the diagram, users can decide to create description pages for each task shape in the diagram. They are created as subpages of the diagram.
  • The generated task pages have a built-in navigation between process steps.
  • The BPMN diagrams can be embedded in any wiki page via the tag <bpmn process="..." />.

Installation

[edit]
  • Download and move the extracted CognitiveProcessDesigner folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:
    cdextensions/
    gitclonehttps://gerrit.wikimedia.org/r/mediawiki/extensions/CognitiveProcessDesigner
    
  • Only when installing from Git, run Composer to install PHP dependencies, by issuing composer install --no-dev in the extension directory. (See T173141 for potential complications.)
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'CognitiveProcessDesigner' );
    
  • For REL1_35 and upper branches - setup of processRunner.php is needed. See note below for the details.
  • 👁 Yes
    Done
    – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.


{
"repositories":[
{
"type":"vcs",
"url":"https://github.com/wikimedia/mediawiki-extensions-CognitiveProcessDesigner.git"
}
],
"require":{
"mediawiki/CognitiveProcessDesigner":"dev-REL1_43"
}
}
  • Run the following command in your MediaWiki installation path
composer update --no-dev
wfLoadExtension( 'CognitiveProcessDesigner' );


  • In REL1_35 and upper branches "process manager"[1] is used to save diagram elements on the server. In that case processRunner.php must be running to correctly save BPMN diagram. See how to setup it. For the most cases - just execute
    php maintenance/run.php ./extensions/CognitiveProcessDesigner/vendor/mwstake/mediawiki-component-processmanager/maintenance/processRunner.php maintenance/Maintenance.php --wait
    
    from wiki root in the separate terminal window.
  • Semantic MediaWiki must be installed in order to provide information for the elements in a structured way and publish the information according to the Linked Data Principles, which helps to avoid having an unbounded web.
  • file uploads for SVG file types must be allowed and the images directory must be writable (chmod 755)[2]

Usage

[edit]
👁 Image
Created BPMN diagram with Cognitive Process

Create diagrams

[edit]

To create a diagram, simply create a new page in the Process namespace:

Process:MyNewDiagram

The visual editing mode opens the BPMN editor.

External links

[edit]

More extensive documentation on how to use this extension:


👁 Image
This extension is included in the following wiki farms/hosts and/or packages: