Wait & Notify

Content Type: Module
Categories:

Overview

This module has two Java Actions. Wait will wait for a notification which you can send with Notify. The notification is always in the context of a Mendix object and is based on the Java methods wait() and notify() which can be used on all Objects.

Documentation

Description

In Java you can use the wait() and notify() methods on all Objects. When we call wait() – this forces the current thread to wait until some other thread invokes notify() or notifyAll() on the same object. The same thing can now be done with two Java Actions.

Typical usage scenario

In a some microflow, you would like to perform some business logic with an certain object, but not until a certain condition is met. This condition derives from another microflow because a change has been made or a user has clicked a button.

Features and limitations

  • Wait (Java Action) – Pause execution of a microflow and wait for a notification on an object
  • Notify (Java Action) – Send a notification on an object

 Please be aware that this module hasn't been thoroughly tested yet 

Dependencies

  • Mendix modeler 8.11.1

Releases

Version: 1.0.0
Framework Version: 8.11.1
Release Notes: First release (beta version)