# General

**URL:** https://forum.bpmn.io/c/developers/getting-started/11.md?page=1

[Latest](https://forum.bpmn.io/latest.md) · [Categories](https://forum.bpmn.io/categories.md)

**Page:** 2

---

## [Changes in diagram-js v12](https://forum.bpmn.io/t/changes-in-diagram-js-v12/9257)

<div class="topic-metadata">

**Author:** [@vbo75](https://forum.bpmn.io/u/vbo75)\
**Replies:** 2\
**Last updated:** [May 24, 2023, 9:49am UTC](https://forum.bpmn.io/t/changes-in-diagram-js-v12/9257 "2023-05-24T09:49:43Z")

</div>

Hi, As diagram-js v12 introduce a new ‘model’ package, can you explain how to use the factory functions exposed by this model package to create Model elements ? What changes are needed to migrate from v11 to v12? I di…

---

## [Bundling of properties-panel extension doesn't work](https://forum.bpmn.io/t/bundling-of-properties-panel-extension-doesnt-work/9210)

<div class="topic-metadata">

**Author:** [@geort](https://forum.bpmn.io/u/geort)\
**Replies:** 1\
**Last updated:** [May 10, 2023, 1:18pm UTC](https://forum.bpmn.io/t/bundling-of-properties-panel-extension-doesnt-work/9210 "2023-05-10T13:18:40Z")

</div>

Hi all, I’m trying to bundle an properties-panel extension. I’ve followed the suggestions in the custom-bundle example, and using the same rollup config. However I keep getting an cannot read properties of undefined (re…

---

## [Typescript @types/bpmn-js not provided in NPM](https://forum.bpmn.io/t/typescript-types-bpmn-js-not-provided-in-npm/8519)

<div class="topic-metadata">

**Author:** [@apo](https://forum.bpmn.io/u/apo)\
**Replies:** 3\
**Last updated:** [April 27, 2023, 6:14pm UTC](https://forum.bpmn.io/t/typescript-types-bpmn-js-not-provided-in-npm/8519 "2023-04-27T18:14:55Z")

</div>

Hello! I’m developing an angular app and run successfully the angular-example bpmn-js-example-angular But this example is not in strict mode… and if i activate the strict mode Why aren’t the types of bpmn-js provided …

---

## [Using the saveSVG function in DMN](https://forum.bpmn.io/t/using-the-savesvg-function-in-dmn/9030)

<div class="topic-metadata">

**Author:** [@kirstenhh](https://forum.bpmn.io/u/kirstenhh)\
**Replies:** 2\
**Last updated:** [April 5, 2023, 8:04am UTC](https://forum.bpmn.io/t/using-the-savesvg-function-in-dmn/9030 "2023-04-05T08:04:28Z")

</div>

Fairly simple question - I’m implementing a DMN modeler alongside our existing BPMN one, and I’m trying to keep things as similar as possible. Is there a way to use the saveSVG() function anywhere for the DRD? Or is ther…

---

## [Bpmnlint-pack-config "Failed to compile config"](https://forum.bpmn.io/t/bpmnlint-pack-config-failed-to-compile-config/7689)

<div class="topic-metadata">

**Author:** [@arvala7](https://forum.bpmn.io/u/arvala7)\
**Replies:** 1\
**Last updated:** [March 13, 2023, 11:30pm UTC](https://forum.bpmn.io/t/bpmnlint-pack-config-failed-to-compile-config/7689 "2023-03-13T23:30:14Z")

</div>

I have a project with a custom plugin for linting and i am trying to use the bpmnlint-pack-config to bundle it. When I try to use the bpmnlint-pack-config utility to compile the .bpmnlintrc file, with npx bpmnlint-pack-c…

---

## [Can We Add Custom Element And Shape For Drawing](https://forum.bpmn.io/t/can-we-add-custom-element-and-shape-for-drawing/8885)

<div class="topic-metadata">

**Author:** [@SeenTa](https://forum.bpmn.io/u/SeenTa)\
**Replies:** 3\
**Last updated:** [March 1, 2023, 10:50am UTC](https://forum.bpmn.io/t/can-we-add-custom-element-and-shape-for-drawing/8885 "2023-03-01T10:50:57Z")

</div>

I’m involving with this issue for months…any idea what to do? too pressure on me about this

---

## [Event to generate custom documentation?](https://forum.bpmn.io/t/event-to-generate-custom-documentation/8722)

<div class="topic-metadata">

**Author:** [@ahmandi](https://forum.bpmn.io/u/ahmandi)\
**Replies:** 1\
**Last updated:** [February 14, 2023, 11:34pm UTC](https://forum.bpmn.io/t/event-to-generate-custom-documentation/8722 "2023-02-14T23:34:06Z")

</div>

Is there any built-in function in BPMN to generate custom documentation? I have visual example of the PDF it would have to generate: I noticed that there is a documentation event but I am not sure if that is exact…

---

## [Properties Panel: Angular/Preact Build Issue](https://forum.bpmn.io/t/properties-panel-angular-preact-build-issue/8668)

<div class="topic-metadata">

**Author:** [@SebastianAdams](https://forum.bpmn.io/u/SebastianAdams)\
**Replies:** 2\
**Last updated:** [January 19, 2023, 6:00pm UTC](https://forum.bpmn.io/t/properties-panel-angular-preact-build-issue/8668 "2023-01-19T18:00:31Z")

</div>

I have an issue using the properties panel in an Angular project. It seems like the preact library throws errors: ERROR TypeError: n.\_\_ is not a function at k (hooks.module.js:1:2971) at Array.forEach (\<anonymo…

---

## [Domain specific terminology and translation](https://forum.bpmn.io/t/domain-specific-terminology-and-translation/8674)

<div class="topic-metadata">

**Author:** [@jurgenhaas](https://forum.bpmn.io/u/jurgenhaas)\
**Replies:** 3\
**Last updated:** [January 19, 2023, 1:02pm UTC](https://forum.bpmn.io/t/domain-specific-terminology-and-translation/8674 "2023-01-19T13:02:59Z")

</div>

As we have integrated bpmn.io into Drupal and see some significant traction from users picking this up, we experience some challenges in supporting this because the terminology of Drupal and BPMN.io are slightly differen…

---

## [Lock Modeler canvas](https://forum.bpmn.io/t/lock-modeler-canvas/1588)

<div class="topic-metadata">

**Author:** [@joseluis](https://forum.bpmn.io/u/joseluis)\
**Replies:** 3\
**Last updated:** [January 9, 2023, 4:12pm UTC](https://forum.bpmn.io/t/lock-modeler-canvas/1588 "2023-01-09T16:12:54Z")

</div>

Hello I would like to fix the canvas position so it can not be accidentally changed while dragging some components or by using the hand tool. The idea is to have the position fixed as the viewer does. Is this possi…

---

## [Canvg-browser dependency vulnerability](https://forum.bpmn.io/t/canvg-browser-dependency-vulnerability/8604)

<div class="topic-metadata">

**Author:** [@Jesper\_NL](https://forum.bpmn.io/u/Jesper_NL)\
**Replies:** 0\
**Last updated:** [January 5, 2023, 1:40pm UTC](https://forum.bpmn.io/t/canvg-browser-dependency-vulnerability/8604 "2023-01-05T13:40:07Z")

</div>

Hello, npm audit says: xmldom \* Severity: critical Misinterpretation of malicious XML input - xmldom allows multiple root nodes in a DOM - Misinterpretation of malicious XML input - No fix available node\_modules…

---

## [Archimate diagrams](https://forum.bpmn.io/t/archimate-diagrams/7589)

<div class="topic-metadata">

**Author:** [@fideocam](https://forum.bpmn.io/u/fideocam)\
**Replies:** 14\
**Last updated:** [January 3, 2023, 2:59pm UTC](https://forum.bpmn.io/t/archimate-diagrams/7589 "2023-01-03T14:59:07Z")

</div>

Hi guys, First of all I love the BPMN modeler. I now work in Enteprise Architecture and sometimes I wish there was a simple modeling tool like it, but for Open Group’s Archimate notation. I recently created some templat…

---

## [How to use bpmnViewer in angular 14](https://forum.bpmn.io/t/how-to-use-bpmnviewer-in-angular-14/8460)

<div class="topic-metadata">

**Author:** [@Sam\_Sepiol](https://forum.bpmn.io/u/Sam_Sepiol)\
**Replies:** 1\
**Last updated:** [December 14, 2022, 12:09pm UTC](https://forum.bpmn.io/t/how-to-use-bpmnviewer-in-angular-14/8460 "2022-12-14T12:09:07Z")

</div>

Hi all, I want to display a bpmn diagram in angular page . I have implemented a backend api that can provide me the xml file . I installed bpmn-js in angular but I am not sure how to implement it . Can anyone help me wit…

---

## [Getting started as a beginner integrating bpmn on a website](https://forum.bpmn.io/t/getting-started-as-a-beginner-integrating-bpmn-on-a-website/7209)

<div class="topic-metadata">

**Author:** [@Ong\_Wai\_Boon](https://forum.bpmn.io/u/Ong_Wai_Boon)\
**Replies:** 3\
**Last updated:** [August 26, 2022, 8:05am UTC](https://forum.bpmn.io/t/getting-started-as-a-beginner-integrating-bpmn-on-a-website/7209 "2022-08-26T08:05:08Z")

</div>

Hi everyone, nice to meet all. I am a beginner to bmpn (and to programming in general). Currently I am trying to to integrate bpmn on my website. I have been following the steps in these 2 links: Here is what I have …

---

## [Using BPMN for building Workflow Management](https://forum.bpmn.io/t/using-bpmn-for-building-workflow-management/8446)

<div class="topic-metadata">

**Author:** [@vijayandms](https://forum.bpmn.io/u/vijayandms)\
**Replies:** 0\
**Last updated:** [December 9, 2022, 10:14am UTC](https://forum.bpmn.io/t/using-bpmn-for-building-workflow-management/8446 "2022-12-09T10:14:54Z")

</div>

We are currently looking for an open source BPM engine and came across with BPMN.io and would like to see how we can embed BPMN.io for visual process modelling and assist the process modeller to develop critical business…

---

## [How to run bpmn-js locally?](https://forum.bpmn.io/t/how-to-run-bpmn-js-locally/8321)

<div class="topic-metadata">

**Author:** [@tlk](https://forum.bpmn.io/u/tlk)\
**Replies:** 1\
**Last updated:** [November 17, 2022, 8:20am UTC](https://forum.bpmn.io/t/how-to-run-bpmn-js-locally/8321 "2022-11-17T08:20:57Z")

</div>

Hey all, I am trying to run the bpmn-js rendering toolkit https://github.com/bpmn-io/bpmn-js.git locally on my PC. When I run the “npm install” and “npm run all” commands as suggested in the projects Readme.md file, th…

---

## [How to remove connection programmically?](https://forum.bpmn.io/t/how-to-remove-connection-programmically/7882)

<div class="topic-metadata">

**Author:** [@A\_M](https://forum.bpmn.io/u/A_M)\
**Replies:** 1\
**Last updated:** [August 24, 2022, 12:50pm UTC](https://forum.bpmn.io/t/how-to-remove-connection-programmically/7882 "2022-08-24T12:50:11Z")

</div>

I want to remove connection programmically with its id. Not clicking trash icon. In the example: GitHub - bpmn-io/bpmn-js-example-custom-shapes: Creating custom elements in bpmn-js that live outside a BPMN 2.0 diagram.

---

## [How to add element in bpmn-js modeler, bpmn:documentation](https://forum.bpmn.io/t/how-to-add-element-in-bpmn-js-modeler-bpmn-documentation/7865)

<div class="topic-metadata">

**Author:** [@Muhammed\_Abdrahman](https://forum.bpmn.io/u/Muhammed_Abdrahman)\
**Replies:** 1\
**Last updated:** [August 16, 2022, 7:36am UTC](https://forum.bpmn.io/t/how-to-add-element-in-bpmn-js-modeler-bpmn-documentation/7865 "2022-08-16T07:36:41Z")

</div>

Hi everyone, now I am trying to set bpmn:documentation. const modeler = getModeler(); await modeler.importXML(process.diagram ? process.diagram : defaultDiagram(process.description)); actually there is no documen…

---

## [How to enable top to bottom diagram authoring using bpmn-js](https://forum.bpmn.io/t/how-to-enable-top-to-bottom-diagram-authoring-using-bpmn-js/7700)

<div class="topic-metadata">

**Author:** [@sharath\_chandra](https://forum.bpmn.io/u/sharath_chandra)\
**Replies:** 1\
**Last updated:** [June 27, 2022, 6:48am UTC](https://forum.bpmn.io/t/how-to-enable-top-to-bottom-diagram-authoring-using-bpmn-js/7700 "2022-06-27T06:48:14Z")

</div>

Hi, We are using bpmn-js for creating and managing the bpmn diagrams. There is a requirement where the process team is used to vertical layout and would prefer to manage the process in the same way. Is there way to enab…

---

## [Add custom activity marker](https://forum.bpmn.io/t/add-custom-activity-marker/5018)

<div class="topic-metadata">

**Author:** [@Friscas](https://forum.bpmn.io/u/Friscas)\
**Replies:** 3\
**Last updated:** [June 8, 2022, 1:31am UTC](https://forum.bpmn.io/t/add-custom-activity-marker/5018 "2022-06-08T01:31:24Z")

</div>

Hey guys, I’m new to the BPMN world and I have a task where I have to add an activity marker. What I actually need is to add a plus icon here: Any help on where to start will be really appreciated

---

## [Customer Journey extension on the canvas](https://forum.bpmn.io/t/customer-journey-extension-on-the-canvas/7572)

<div class="topic-metadata">

**Author:** [@LazerSam](https://forum.bpmn.io/u/LazerSam)\
**Replies:** 1\
**Last updated:** [May 16, 2022, 2:29pm UTC](https://forum.bpmn.io/t/customer-journey-extension-on-the-canvas/7572 "2022-05-16T14:29:09Z")

</div>

Hello everybody, I am currently working on an extension of the BPMN.io Modeler and Toolkit for Customer Journey\`s. Therefore I plan to build an extension of the canvas. The plan is, that fixed objects (SVG shapes) are l…

---

## [Annotations for sequence flows](https://forum.bpmn.io/t/annotations-for-sequence-flows/7558)

<div class="topic-metadata">

**Author:** [@jurgenhaas](https://forum.bpmn.io/u/jurgenhaas)\
**Replies:** 1\
**Last updated:** [May 13, 2022, 1:38pm UTC](https://forum.bpmn.io/t/annotations-for-sequence-flows/7558 "2022-05-13T13:38:36Z")

</div>

Annotations for events, gateways and tasks are working great for us. We would also like to use them with sequence flows . Is there a reason why they are not available there ? Could those be added or enabled?

---

## [svgCreate html?](https://forum.bpmn.io/t/svgcreate-html/7533)

<div class="topic-metadata">

**Author:** [@Proka](https://forum.bpmn.io/u/Proka)\
**Replies:** 2\
**Last updated:** [May 5, 2022, 8:42am UTC](https://forum.bpmn.io/t/svgcreate-html/7533 "2022-05-05T08:42:27Z")

</div>

How do I append an in icon, instead of plain text? Currently, I am displaying text inside a node like this: const text = svgCreate('text'); //style and append text node svgAttr(t…

---

## [Defining variables to user tasks](https://forum.bpmn.io/t/defining-variables-to-user-tasks/7528)

<div class="topic-metadata">

**Author:** [@jgeek](https://forum.bpmn.io/u/jgeek)\
**Replies:** 3\
**Last updated:** [May 2, 2022, 8:14am UTC](https://forum.bpmn.io/t/defining-variables-to-user-tasks/7528 "2022-05-02T08:14:03Z")

</div>

I am new to BPMN. While I am exploring it I did not follow why there is no way to define variables for user tasks. As I understand a User task represents a task executed by a person with the assistance of an application. …

---

## [Add Custom Validations for Delete Deployments](https://forum.bpmn.io/t/add-custom-validations-for-delete-deployments/7526)

<div class="topic-metadata">

**Author:** [@lakshan\_g](https://forum.bpmn.io/u/lakshan_g)\
**Replies:** 1\
**Last updated:** [April 29, 2022, 12:59pm UTC](https://forum.bpmn.io/t/add-custom-validations-for-delete-deployments/7526 "2022-04-29T12:59:42Z")

</div>

Hey Folks, We have a scenario where we allow Users to delete deployments via a button and also through the Camunda REST API ( DELETE /deployment/{id}). For delete deployments, via the button, we are using the below meth…

---

## [Custom Property Panel in React](https://forum.bpmn.io/t/custom-property-panel-in-react/7476)

<div class="topic-metadata">

**Author:** [@Teodora\_Cvetkoska](https://forum.bpmn.io/u/Teodora_Cvetkoska)\
**Replies:** 0\
**Last updated:** [April 15, 2022, 9:46am UTC](https://forum.bpmn.io/t/custom-property-panel-in-react/7476 "2022-04-15T09:46:22Z")

</div>

Hello, I am using React and I wanted to create a custom panel that will be imported as react component, but will reuse some of the already created methods in bpmn-js-property-panel package(since in the newest alpha vers…

---

## [React properties panel](https://forum.bpmn.io/t/react-properties-panel/7444)

<div class="topic-metadata">

**Author:** [@Teodora\_Cvetkoska](https://forum.bpmn.io/u/Teodora_Cvetkoska)\
**Replies:** 7\
**Last updated:** [April 15, 2022, 9:50am UTC](https://forum.bpmn.io/t/react-properties-panel/7444 "2022-04-15T09:50:34Z")

</div>

Hello, I want to create different UI for the property panel (with dynamic parts - fields that depend on given json), so I decide to use the react example abd build my own property panel (GitHub - bpmn-io/bpmn-js-example-…

---

## [Issue installing properties panel](https://forum.bpmn.io/t/issue-installing-properties-panel/2066)

<div class="topic-metadata">

**Author:** [@raas](https://forum.bpmn.io/u/raas)\
**Replies:** 6\
**Last updated:** [April 14, 2022, 2:04pm UTC](https://forum.bpmn.io/t/issue-installing-properties-panel/2066 "2022-04-14T14:04:26Z")

</div>

Trying out a couple of example to familiarize with bpmn-js, events and overlays work, but I got an issue when installing the properties panel extension. Here’s the message I receive: npm WARN bpmn-js-properties-panel@0…

---

## [SequenceFlow missing sourceRef & targetRef after importXML()](https://forum.bpmn.io/t/sequenceflow-missing-sourceref-targetref-after-importxml/7338)

<div class="topic-metadata">

**Author:** [@Kevin\_Clerc](https://forum.bpmn.io/u/Kevin_Clerc)\
**Replies:** 2\
**Last updated:** [March 18, 2022, 10:33am UTC](https://forum.bpmn.io/t/sequenceflow-missing-sourceref-targetref-after-importxml/7338 "2022-03-18T10:33:13Z")

</div>

Hello I have a strange behaviour in my modeler. When I create a sequenceFlow I can see there are properties for sourceRef & targetRef on the businessObject. If I export this xml and re-import the same XML and log the S…

---

## [I can't save my diagram after making changes to the view ReactHooks](https://forum.bpmn.io/t/i-cant-save-my-diagram-after-making-changes-to-the-view-reacthooks/7319)

<div class="topic-metadata">

**Author:** [@Brian\_BG](https://forum.bpmn.io/u/Brian_BG)\
**Replies:** 4\
**Last updated:** [March 14, 2022, 7:52pm UTC](https://forum.bpmn.io/t/i-cant-save-my-diagram-after-making-changes-to-the-view-reacthooks/7319 "2022-03-14T19:52:09Z")

</div>

\#Hello everyone!, I am trying to save my diagram after making changes to the view, but it does not save me an error appears, can someone help me please const openBpmnDiagram = async (diagram) =\> { const modeler = n…

[Previous page](https://forum.bpmn.io/c/developers/getting-started/11.md)

[Next page](https://forum.bpmn.io/c/developers/getting-started/11.md?page=2)
