bpmn-js-transaction-boundaries

WebJar for bpmn-js-transaction-boundaries

License

License

MIT
Categories

Categories

JavaScript Languages
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

bpmn-js-transaction-boundaries
Last Version

Last Version

0.1.1
Release Date

Release Date

Type

Type

jar
Description

Description

bpmn-js-transaction-boundaries
WebJar for bpmn-js-transaction-boundaries
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/bpmn-io/bpmn-js-transaction-boundaries

Download bpmn-js-transaction-boundaries

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/bpmn-js-transaction-boundaries/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>bpmn-js-transaction-boundaries</artifactId>
    <version>0.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/bpmn-js-transaction-boundaries/
implementation 'org.webjars.npm:bpmn-js-transaction-boundaries:0.1.1'
// https://jarcasting.com/artifacts/org.webjars.npm/bpmn-js-transaction-boundaries/
implementation ("org.webjars.npm:bpmn-js-transaction-boundaries:0.1.1")
'org.webjars.npm:bpmn-js-transaction-boundaries:jar:0.1.1'
<dependency org="org.webjars.npm" name="bpmn-js-transaction-boundaries" rev="0.1.1">
  <artifact name="bpmn-js-transaction-boundaries" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='bpmn-js-transaction-boundaries', version='0.1.1')
)
libraryDependencies += "org.webjars.npm" % "bpmn-js-transaction-boundaries" % "0.1.1"
[org.webjars.npm/bpmn-js-transaction-boundaries "0.1.1"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.npm : lodash jar [3.10.1,4)

Project Modules

There are no modules declared in this project.

Looking for the Camunda Modeler plug-in? Find it here.

As of version 1.0.0 this library exposes ES modules. Use an ES module aware bundler such as Webpack or Rollup to bundle it for the browser.

camunda-transaction-boundaries

CI

A bpmn-js extension to visualize transaction boundaries, applied by Camunda.

transaction boundaries screenshot

Features

Visualize all transaction boundaries in a BPMN diagram.

This includes all BPMN elements that are wait states and have a boundary for incoming connections:

  • Intermediate Catching Message Event
  • Intermediate Catching Timer Event
  • Intermediate Catching Signal Event
  • Receive Task
  • User Task
  • Event Based Gateway
  • External Service Task

In addition to these elements all activities with asynchronous continuations act as transaction boundaries. This is also valid for multi-instance activities. Learn more about transactions and wait states in the Camunda documentation.

Usage

Extend the bpmn-js modeler with the transaction boundaries module:

import BpmnModeler from 'bpmn-js/lib/Modeler';

import transactionBoundariesModule from 'camunda-transaction-boundaries';

var canvas = $('#js-canvas');

var bpmnModeler = new BpmnModeler({
  container: canvas,
  additionalModules: [
    transactionBoundariesModule
  ]
});

bpmnModeler.importXML(xml, function(err) {

  if (err) {
    return console.error(err);
  }

  var transactionBoundaries = bpmnModeler.get('transactionBoundaries');

  transactionBoundaries.show();
});

Please see this example for a more detailed instructions.

Test

npm install
npm test

License

MIT

org.webjars.npm

bpmn.io

Rendering toolkits and editors for BPMN 2.0, CMMN, DMN, and forms.

Versions

Version
0.1.1