Giter Club home page Giter Club logo

Comments (7)

paed01 avatar paed01 commented on June 23, 2024 1

That has been named index (0-based) in the implementation. Since the aim is to be BPMN2 compliant, I will add it in a future release. Thank you for making me aware.

from bpmn-elements.

Ichigo85 avatar Ichigo85 commented on June 23, 2024

Hello! I thought it already was BPMN 2.0 compliant, do you have a roadmap or a list of what's missing?

from bpmn-elements.

paed01 avatar paed01 commented on June 23, 2024

IMHO the project has BPMN2.0 core support. But 100% BPMN2.0 is hard to reach, especially since I'm doing this on my limited free time. Feel free to contribute if you are missing something.

from bpmn-elements.

Ichigo85 avatar Ichigo85 commented on June 23, 2024

I will gladly contribute, thank you. In fact, I was thinking to fork your project, but I have probably one question before starting. I have seen that also making a valid expression like
${content.index} < 10

does not work, because the expression is correctly resolved (0 < 10) but not evaluated. Since I am still not deeply into the mechanisms of bpmn-engine I prefer to ask. Would it be better to add a "evaluateExpression" that calculate the final result, using it only for loopCharacteristics, or can I edit the "resolveExpression" function to implement this behaviour?
Or am I missing something?

from bpmn-elements.

paed01 avatar paed01 commented on June 23, 2024

The builtin expression parser is basic RegEx and rather stupid. It's mainly there for reference.

You can configure your own expression handler in enviroment.expressions or use the excellent community expression handler by aircall (#23)

from bpmn-elements.

paed01 avatar paed01 commented on June 23, 2024

Can I close this issue or do we require the property to exist?

from bpmn-elements.

Ichigo85 avatar Ichigo85 commented on June 23, 2024

Hi! Yes, I'll close the issue myself. Thank you for your help!

from bpmn-elements.

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.