camunda-modeler-robot-plugin

Robot Framework plugin for Camunda Modeler

Stars
8
Committers
5

Camunda Modeler Robot Framework Plugin

This example is based on Camunda Modeler Plugin Example.

Features

  • Renders Robot Framework icon for service tasks with robot in their task id (case insensitive).

Development Setup

Use npm, the Node.js package manager to download and install required dependencies:

npm install

To make the Camunda Modeler aware of your plug-in you must link the plug-in to the Camunda Modeler plug-in directory via a symbolic link. Available utilities to do that are mklink /d on Windows and ln -s on MacOS / Linux.

Re-start the app in order to recognize the newly linked plug-in.

Building the Plug-in

You may spawn the development setup to watch source files and re-build the client plug-in on changes:

npm run dev

Given you've setup and linked your plug-in as explained above, you should be able to reload the modeler to pick up plug-in changes. To do so, open the app's built in development toos via F12. Then, within the development tools press the reload shortcuts CTRL + R or CMD + R to reload the app.

To prepare the plug-in for release, executing all necessary steps, run:

npm run all

Cockpit plugin

The build results also a Camunda Cockpit compatible bpmn-js extension module at ./dist/module.js. Please, follow the Camunda Cockpit plugins guide on how to copy ./dist/module.js into a proper location depending on your Camunda distribution, and how to configure it as a bpmn-js extension, e.g.:

{
  bpmnJs: {
    additionalModules: [
      'scripts/robot-module.js'
    ]
  }
}

Licence

MIT