Giter Club home page Giter Club logo

Comments (9)

nikku avatar nikku commented on September 28, 2024 1

As it looks like this works as intended I reached out to the source for further clarification.

from bpmn-js-token-simulation.

nikku avatar nikku commented on September 28, 2024

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.

NPDeehan avatar NPDeehan commented on September 28, 2024

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.

nikku avatar nikku commented on September 28, 2024

You'd want to rename it to bpmn.txt and then it works.

from bpmn-js-token-simulation.

NPDeehan avatar NPDeehan commented on September 28, 2024

compensation-token-sim.txt

Enjoy!

from bpmn-js-token-simulation.

nikku avatar nikku commented on September 28, 2024

It works if you assign an activity reference (what activity shall be compensated):

capture qJ3Fry_optimized

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.

nikku avatar nikku commented on September 28, 2024

Not a bug, cf. comment.

from bpmn-js-token-simulation.

hkupitz avatar hkupitz commented on September 28, 2024

@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.

image

Is this not implemented on purpose or simply a missing feature?

from bpmn-js-token-simulation.

nikku avatar nikku commented on September 28, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.