Code Monkey home page Code Monkey logo

Comments (7)

nikku avatar nikku commented on September 24, 2024 1

Please use our existing issue templates. That helps you to establish the necessary context, including a clear description of what you believe should happen.

from bpmn-js.

okankrdg avatar okankrdg commented on September 24, 2024

I updated the bug reports.@nikku

from bpmn-js.

nikku avatar nikku commented on September 24, 2024

Thanks @okankrdg. Why do you expect the following, and what would you like to accomplish?

expecting 'elements.changed' or 'elements.created' event trigger when element was created or changed.

Rules are only evaluated for certain wellknown activities.

from bpmn-js.

okankrdg avatar okankrdg commented on September 24, 2024

I would like only specific task connected be from Non-interrepting Element. for example Non-interrepting--> service task -> service -task. it is ok. but I would like not allowed the service task is changed.

Thanks @okankrdg. Why do you expect the following, and what would you like to accomplish?

expecting 'elements.changed' or 'elements.created' event trigger when element was created or changed.

Rules are only evaluated for certain wellknown activities.

from bpmn-js.

nikku avatar nikku commented on September 24, 2024

I guess it makes sense if you share a screencapture of the interaction youd like to allow and/or disallow.

from bpmn-js.

okankrdg avatar okankrdg commented on September 24, 2024

I'm only allowing connected to service-task from non-interreptuing event. it's working with connection.create event but I can't prevent it when I changed type.

custom-rule

from bpmn-js.

nikku avatar nikku commented on September 24, 2024

@okankrdg Sorry for taking this long to get back to this issue.

this.addRule('elements.changed', HIGH_PRIORITY, function(context) {
      console.log("changed not working")
});

As mentioned this is not a rule we expose. You can check BpmnRules for the rules that we support. This includes specific rules what can be connected to what or re-connected

from bpmn-js.

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.