Comments (9)
As it looks like this works as intended I reached out to the source for further clarification.
from bpmn-js-token-simulation.
Thanks for opening this issue. Could you share a diagram that I can reproduce the issue with on the playground?
from bpmn-js-token-simulation.
I wasn't able to upload a BPMN file to the bug ticket - can you make a change to allow the file type?
from bpmn-js-token-simulation.
You'd want to rename it to bpmn.txt
and then it works.
from bpmn-js-token-simulation.
Enjoy!
from bpmn-js-token-simulation.
It works if you assign an activity reference (what activity shall be compensated):
Will need to dive into the details what the behavior is if no activity reference is added; I assume that this is where the engine is missing something.
from bpmn-js-token-simulation.
Not a bug, cf. comment.
from bpmn-js-token-simulation.
@nikku According to the BPMN specification all completed activities should be compensated if no activity is specified with the throwing Compensation Event. This is also how it is handled by the Camunda Platform 7 engine.
Is this not implemented on purpose or simply a missing feature?
from bpmn-js-token-simulation.
@hkupitz To my knowledge the simulator implements compensation in accordance with the BPMN spec. If there is anything missing, please open a bug report, attach an example diagram, and we can take it from there.
The goal is that we implement all quirks of the spec, so that we're a good learning tool.
Update: If you refer to #133 (comment) then you may have a point about us not supporting "compensating all activities". I think it still makes sense to open a separate bug ticket for that. Also maybe you can help us understand what "global" context refers to? Is this a process context? Or does it also apply to sub-processes?
from bpmn-js-token-simulation.
Related Issues (20)
- Activation of tokens doesn't work as expected with multiple attached boundary events HOT 9
- Token simulation for inclusive gateways HOT 1
- Calling `saveXML` With Token Simulation Active Breaks XML HOT 3
- Emit messages without message flows
- Broken links in the README
- Parallel Join not behaving correctly HOT 4
- Add i18n configuration HOT 5
- css show error
- Exclusive Gateway Throws Error When There Are No Outgoing Elements HOT 1
- Token simulation cannot continue beyond collapsed, empty sub-process
- Be able to replay/restart from any point in the simulation
- Token simulation allows incoming sequence flows for events after an event based gateway HOT 4
- In OR gateway, check only incoming sequence flows which have not received token yet HOT 7
- Implicit starts are not properly handled
- Inclusive gateway doesn't wait for tokens which are placed before a link catch event
- Modeling not Disabled When Token Simulation Active HOT 1
- Elements Can Be Selected When Token Simulation Active HOT 5
- Token Simulation Adds Invisible Border
- More precise simulation log icons. HOT 3
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 bpmn-js-token-simulation.