Giter Club home page Giter Club logo

Comments (5)

jbirddog avatar jbirddog commented on August 12, 2024

Hi @ManuelLevi thanks for the reports. We just merged in support for cycle timer start events so do appreciate checking them out. The R5/PT10S syntax needs to be quoted, so "R5/PT10S" - this is to allow the value to be driven from any valid Python expression. I would agree that the examples in the properties panel need to better illustrate this, and we probably shouldn't link to the camunda docs.

In SpiffArena timers are driven by the background processor, so in case it helps make sure SPIFFWORKFLOW_BACKEND_RUN_BACKGROUND_SCHEDULER is set to "true" and you can configure SPIFFWORKFLOW_BACKEND_BACKGROUND_SCHEDULER_NOT_STARTED_POLLING_INTERVAL_IN_SECONDS as desired.

from spiff-arena.

jbirddog avatar jbirddog commented on August 12, 2024

Also in case it helps, here is a sample bpmn file that creates a new instance every 30 seconds* indefinitely.

* depends on the polling interval configured above

from spiff-arena.

ManuelLevi avatar ManuelLevi commented on August 12, 2024

Hi @jbirddog

I've used the quoted version and it works. I would say the "issue" then is lack of clarity in the interface.

Solving it:
I've tried to find the "R5/PT10S" in this organization with org:sartography R5/PT10S, but github is not finding that code.
If I knew, I could make a pull request with a clear message about this.

from spiff-arena.

jbirddog avatar jbirddog commented on August 12, 2024

I am not very familiar with this part of the code, but it looks like the string is here:

https://github.com/search?q=repo%3Abpmn-io%2Fbpmn-js-properties-panel%20R5%2FPT10S&type=code

How exactly it should be modified just for us is unclear to me without digging into it in detail.

from spiff-arena.

ManuelLevi avatar ManuelLevi commented on August 12, 2024

Oh I see, it's using the code directly from bpmn.io, that makes sense!

The functionality seems to be working, so I'll close the issue now.

Thank you @jbirddog :)

from spiff-arena.

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.