Skip to content

Commit dfc10f6

Browse files
author
Jelte Lagendijk
committed
Merge branch 'master' of ssh://github.com/mendix/MicroflowTimer
# Conflicts: # package.json # src/package.xml # test/widgets/MicroflowTimer.mpk
2 parents 5423d61 + 9c955c9 commit dfc10f6

File tree

7 files changed

+486
-346
lines changed

7 files changed

+486
-346
lines changed

README.md

+15-11
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,32 @@
1-
# MicroflowTimer [![Support](https://img.shields.io/badge/Mendix%20Support%3A-Platform-green.svg)](https://docs.mendix.com/community/app-store/app-store-content-support)
1+
# Microflow Timer [![Support](https://img.shields.io/badge/Mendix%20Support%3A-Platform-green.svg)](https://docs.mendix.com/community/app-store/app-store-content-support)
22

3-
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.
3+
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.
44

55
## Contributing
6+
67
For more information on contributing to this repository visit [Contributing to a GitHub repository](https://world.mendix.com/display/howto50/Contributing+to+a+GitHub+repository)!
78

8-
##Typical usage scenario
9+
## Typical usage scenario
910

1011
* Update a grid or object after a certain amount of time, for example a message inbox
1112
* Close a form with a message automatically after 10 seconds
1213
* Automatically make backup copies while the user is still editing an object.
1314
* 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)
1415

15-
##Features and limitations
16+
## Features and limitations
17+
18+
* Adds timed behavior to your applications.
19+
* Run a Microflow or Nanoflow.
20+
21+
## Configuration
1622

17-
* Adds timed behavior to your applications
23+
* The widget requires a dataview or template grid context. This object will be send as argument to the invoked microflow or nanoflow.
1824

19-
##Configuration
20-
* The widget requires a dataview or template grid context. This object will be send as argument to the invoked microflow.
25+
## Properties
2126

22-
##Properties
23-
24-
* Interval (in ms): Defines how often the microflow 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.
27+
* 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.
2528
* Execute once: If true, the microflow will be invoked only once, and interval defines after how many seconds.
2629

2730
* Microflow: The microflow to be executed. If the microflow returns false, it will not be executed any longer until the context changes.
28-
* Start at once: If true (and execute once is true), the microflow will be invoked the first time if the widget has loaded. If false, the microflow will be invoked the first time after interval has passed.
31+
* Nanoflow: The nanoflow to be executed. If the nanoflow returns false, it will not be executed any longer until the context changes.
32+
* 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.

0 commit comments

Comments
 (0)