Comments (5)
Hi zapata. Thanks for reporting this. I never worked with "transaction" in camunda before, so I just missed this.
To fix, have a look into RegisterAllBpmnParseListener. It adds a listener to every transition that fires an event to the bus. In case of transaction, I do:
@Override
public void parseTransaction(Element transactionElement, ScopeImpl scope, ActivityImpl activity) {
addExecutionListener(activity);
}
void addExecutionListener(final ActivityImpl activity) {
for (String event : EXECUTION_EVENTS) {
activity.addListener(event, executionListener);
}
}
which seems to be wrong. Maybe (would have to check), we need a behavior like sequenceFlows:
void addExecutionListener(final TransitionImpl transition) {
transition.addListener(EVENTNAME_TAKE, executionListener);
}
from camunda-platform-7-reactor.
I asked the forum: https://forum.camunda.org/t/what-events-are-allowed-on-the-transaction-element/910
from camunda-platform-7-reactor.
According to https://forum.camunda.org/t/how-to-get-the-elementtype-of-a-modelinstanceelement-that-is-not-a-flowelement-transaction/912/2 this should work with 7.5.0 is that an option for you?
I think I will implement a version hook, where events for start/end transaction are only fired if its >= 7.5 This extension does not have the manpower to support multiple versions over time.
from camunda-platform-7-reactor.
7.5 is good for me!
As a quick fix i just removed the BPMN Transaction which is almost useless anyway (at least in Camunda).
Many thanks for you quick answer.
from camunda-platform-7-reactor.
No prob. I can confirm that 7.5 works. I will add a version switch to the transaction element so no events will get fired for version < 7.5
from camunda-platform-7-reactor.
Related Issues (20)
- Fail mvn package for maven-surefire-plugin HOT 3
- TaskListener event for "timeout" does not invoked! HOT 2
- Unable to register plugin when using Camunda + Tomcat Deployment HOT 3
- Does canumda workflow engine support reactive programming ? HOT 2
- upgrade to java 11
- update to Camunda 7.14
- Duplicate events fired when an error boundary is attached HOT 1
- Rename extension, update assets & documentation HOT 3
- UriPathTemplate from camunda-bpm-reactor/extension/eventbus is not thread safe
- release 2.1.2 HOT 6
- Camunda reactor HOT 2
- BpmnError doesn't handle for ReactorTaskListener HOT 1
- update to latest camunda and spring versions HOT 2
- How can I config a listener for variables update ? HOT 2
- Timer notification received two times HOT 3
- support camunda 7.11 HOT 1
- UriPathSelector cannot find Registration if the processDefinitionKey contains a point HOT 4
- maven 3.6.2 HOT 1
- camunda release parent 3.7
- release 2.11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from camunda-platform-7-reactor.