Questions tagged [bpmn-js]
14 questions
1
vote
0 answers
TypeError while trying to add a custom property to Properties-panel of Bpmn js
I have been trying to add custom property to Properties-panel as it shown in the example (https://github.com/bpmn-io/bpmn-js-examples/tree/master/properties-panel-extension) bpmn io. But when I try to rewrite it to React JS I get an error:…

MrBo
- 11
- 1
0
votes
2 answers
TypeError: layoutProcess is not a function when using bpmn-auto-layout in reactjs
I have an xml that i want to auto layout. So I am using this bpmn-auto-layout
And I am importing it like this
const layoutProcess = require('bpmn-auto-layout');
and using like this
const layoutedDiagramXML = await layoutProcess(xml);
but it throws…

Sunil Garg
- 14,608
- 25
- 132
- 189
0
votes
0 answers
cli is undefined in bpmn-js when using bpmn-js-cli react
I am using bpmn-js to create bpmn flows. I want to create bpmn elements dynamically.
So i found that there is bpmn-js-cli. So by using this code, I am integrating it in modeler
ModelerService._modeler = new Modeler({
container: "#container",
…

Sunil Garg
- 14,608
- 25
- 132
- 189
0
votes
1 answer
Can changing the condition of a sequence flow changes its name? [BPMN-JS]
I’m using “bpmn-js” and “bpmn-js-properties-panel” and my goal is to make sure that when a sequence flow’s condition changes, its name changes as well.
This is my code:
case "commandStack.element.updateProperties.executed":
{
…

BlackWolf
- 1
- 2
0
votes
1 answer
How to integrate Angular 9 with a camunda modeler?
I searched for ways to get the camunda modeler into angular 9 application. What I found was using bpmn-js library and its other dependencies like bpmn-js-properties-panel, etc.
I was able to get the following output.
But, as in the online camunda…

neomal
- 95
- 1
- 1
- 8
0
votes
0 answers
React createPortal with getelementbyid fails every second time I refresh in Chrome
This code works perfectly every second refresh in Chrome. The other time it complains about the target not being a dom node. Any suggestions as to why it consistently fail on every second refresh?
This is a Redwood project using BPMN-JS and it is…

Morten H
- 1
0
votes
0 answers
Express server issues with representing a second properties panel in bpmn-js extension
I have an issue when it comes to extending the bpmn-js-properties-panel-async-extension provided at this link below:
extension
I have essentially repeated the code for an extension I want to make. For some reason the new drop down bar doesn't want…

Casper Andersen
- 21
- 4
0
votes
0 answers
bpmn-js displaying the process diagram with a problem that “X” in exclusiveGateway lost
I use bpmn-js@11.5.0 to display the process diagram, the process xml file got by backend restful interface(flowable@6.8.0) using process definition id.
backend code
public String getProcessDefinitionBpmnXML(String id) {
BpmnModel bpmnModel =…

张光荣
- 1
0
votes
0 answers
Custom elements with bpmn js
I am currently experiencing problems with a custom element that I created and added to my bpmn editor.
Specifically, I was able to create a new element with a custom name ("elmi:customTask"); this element is added to the palette and then I am able…

VitoPuleio
- 1
- 1
0
votes
0 answers
How to mention software tool (MS Excel, SAP etc.) in an activity during process mapping
I have a question about process mapping (BPMN 2.0). In my project there are four activities where the task is done with one or more softwares. I have drawn a demo process flow. But I don't know if there is a specific way to mention the software…

emshihab008
- 13
- 4
0
votes
0 answers
Is there a way to distinguish sub process activities in lanes on BPMN using camunda modeler?
I have a dummy camunda model I'm attaching as an image. The model has a multi instance expanded sub process, in which I have two activities shown in different lanes.
Current Model
In the resulting .bpmn text I want it to show these activities as…
0
votes
0 answers
TypeError while trying to add a custom property to BPMN Service Tasks
I am trying to customize bpmn-js-properties-panel according to this example here.
I am trying to add a custom property destination to all the service tasks.
Please refer to my codesandbox.
I get this below error when I try to add Service Task:
I am…

SM1312
- 516
- 4
- 13
0
votes
1 answer
not able to update properties of multiple components in bpmn-js reactjs
I am using this library bpmn-js in my reactjs project to create a flow. I have different type of element like subprocess and task.
I am updating attributes for multiple elements (el.businessObject.).
my el.businessObject has properties…

Sunil Garg
- 14,608
- 25
- 132
- 189