Giter VIP home page Giter VIP logo

allardbrand / microflowtimer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mendix/microflowtimer

0.0 2.0 0.0 7.28 MB

This widget can be used to time and execute a Microflow as long as a certain form is open. The microflow can be executed once or repeatedly, in which case it will not stop until it returns false or until the form is closed.

Home Page: https://appstore.home.mendix.com/link/app/27/Mendix/Microflow-Timer

License: Apache License 2.0

JavaScript 3.82% Ruby 0.05% HTML 1.11% CSS 95.02%

microflowtimer's Introduction

Microflow Timer Support

This widget can be used to time and execute a Microflow or Nanoflow as long as a certain form is open. The microflow or nanoflow can be executed once or repeatedly, in which case it will not stop until it returns false or until the form is closed.

Contributing

For more information on contributing to this repository visit Contributing to a GitHub repository!

Typical usage scenario

  • Update a grid or object after a certain amount of time, for example a message inbox
  • Close a form with a message automatically after 10 seconds
  • Automatically make backup copies while the user is still editing an object.
  • Open a form and directly trigger validation errors. (to achieve this, use interval: 0, execute once: true, start at once: true) (new in 1.2)

Features and limitations

  • Adds timed behavior to your applications.
  • Run a Microflow or Nanoflow.

Configuration

  • The widget requires a dataview or template grid context. This object will be send as argument to the invoked microflow or nanoflow.

Properties

  • Interval (in ms): Defines how often the microflow or nanoflow is called. Note that the inteval is in milliseconds, so the default, 30000, equals 30 seconds. Note that, unless Execute Once is set to true, the microflow is invoked immediately after loading the form for the first time.

  • Execute once: If true, the microflow will be invoked only once, and interval defines after how many seconds.

  • Microflow: The microflow to be executed. If the microflow returns false, it will not be executed any longer until the context changes.

  • Nanoflow: The nanoflow to be executed. If the nanoflow returns false, it will not be executed any longer until the context changes.

  • Start at once: If true (and execute once is true), the microflow or nanoflow will be invoked the first time if the widget has loaded. If false, the microflow or nanoflow will be invoked the first time after interval has passed.

microflowtimer's People

Contributors

allardbrand avatar andries-smit avatar jeltemx avatar melvingrootenboers avatar mxpvdk avatar pevdk avatar pimvdnoll avatar roelandsalij avatar samuelmuloki avatar stanley-okwii avatar tieniber avatar

Watchers

 avatar  avatar

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.