Questions tagged [bpmn.io]

bpmn.io is a BPMN 2.0 rendering toolkit and web modeler. It is powered by bpmn-js, a client-side only library that embeds BPMN 2.0 into the browser. It runs in modern browsers and requires no server backend. This allows you to easily embed it into any web applications. bpmn-js is built in a way that it can be both a viewer and web modeler.

106 questions
1
vote
1 answer

bpmn js - export svg to bpmn xml

I have tried multiple ways to export the svg from the modeler to a bpmn xml, but unable to export. I tried following ways modeler.moddle.toXML(modeler.get('canvas'), { format: true }, function (err, updatedXML) { …
Shri D
  • 31
  • 4
1
vote
1 answer

bpmn-js with Rails 5.1 webpacker Cannot resolve module 'fs'

I'm new using rails 5.1 with webpacker gem and came a across this issue while trying to configure my environment to use bpmn-js library. I installed the bpmn-js package with yarn but i still needed to add some required files from bpmn-js examples…
Marcelo Fonseca
  • 1,705
  • 2
  • 19
  • 38
1
vote
0 answers

Get BPMN process's "Normal" Workflow

Using Camunda's REST API what would be the best way to get and/or define a workflow's "normal" or "happy path"? I've seen some mention of this in BPMN documentation, but it seems like more of a general 'idea' rather than something specifically…
Fozefy
  • 665
  • 2
  • 7
  • 23
1
vote
1 answer

how to export BPMN 2.0 xml format in bpmn.js

in bpmn.js I can import a file contain xml of BPMN 2.0 fromat like this : var BpmnViewer = require('bpmn-js'); var xml; // my BPMN 2.0 xml var viewer = new BpmnViewer({ container: 'body' }); viewer.importXML(xml, function(err) { if (err) { …
Reza Mazarlou
  • 2,986
  • 4
  • 22
  • 31
1
vote
2 answers

How to retrieve process variable in Camunda-bpm?

While reading (https://docs.camunda.org/manual/7.5/user-guide/process-engine/variables/) I am not sure how you retrieve a variable? At the moment I am struggling to find out how to access previously set process variables. What I tried is: I have a…
user6438693
1
vote
1 answer

Execute a bpmn from Camunda Modeler

Has anyone found how to execute a diagram modeled in camunda's new modeler? With the old eclipse plug-in I could build the model with maven and put the war file on the apache server (https://docs.camunda.org/get-started/bpmn20/deploy/). Is there a…
kevbud007
  • 99
  • 1
  • 11
1
vote
0 answers

How to handle task that is repeated through a month with camunda

I'm new to Camunda and didn't find any tutorial or reference explaining how to achieve the following: This is a workflow to monthly hour registry. So an employee should compile a "form" task to insert how many hours he has worked every day in the…
Matt3o
  • 377
  • 6
  • 15
1
vote
0 answers

How can we implement copy paste of diagram elements in bpmn.io editor?

I am new to bpmn.io and I need to implement copy (of a part of workflow diagram) and paste (it in the same or another bpmn io editor) in bpmb-io editor. How this can be achieved?
Poonam Sharma
  • 73
  • 2
  • 9
0
votes
0 answers

In JBPM sub process, when we are iterating through multi instance , the values are passing as null for the iterating elements

In the above subprocess, we are passing the arraylist from Main process and we are iterating the list in multi instace of enter image description heresubprocess. The getServiceData collection is iterating as eachItem object. When we are running…
0
votes
0 answers

Send Meda Data in request body for bpmn process

While starting a BPMN process using the API, we send process data in the request body. I want to include some metadata in the request body to distinguish between starting the BPMN process from the UI and through a backend service. Additionally, when…
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
1 answer

Program throwing exception after first failed execution with BPMN Error End Event before timeout

Hello, I’m using bpmn model like below to throw exception after timeout. I tried to use Error End Event to throw exception after the timeout defined by Timer Boundary Event which is R5/PT10S. It means that within 5 times of retries, if the execution…
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…
0
votes
0 answers

Error about a missing file when excecuting the example code of the cDMN python module

i am not an experienced programmer and i need to create an expert system for a project. I opted for the cDMN python module to do so. My first step was to follow the example on the documentation site. I recieved a couple warnings when printing the…
diorosso
  • 1
  • 1
0
votes
0 answers

Event catching from multi instance pool

I'm modeling a process in BPMN and I have a doubt about this portion of the process. Specifically I have a multiple instance pool and an another pool. When the first message from the multi instance pool is received by the actor "A", the activity C…