Microflow Scheduled Event Manager

Content Type: Module
Categories: Scheduling

Overview

Schedule microflows on regular intervals, Can handle an HA environment and events will automatically run on the cluster manager. Log4j CVE: This module is depending on the Quartz Scheduler library which uses log4j. Specifically this module includes Log4j-1.2.16, and as per the CVE this vulnerability is only applicable for Apache log4j between versions 2.0 and 2.14.1 therefore there are no known vulnerabilities in this module.

Documentation

Microflow Scheduled Event Manager

Description

This module allows you to schedule microflows at regular intervals. The module allows you to configure the interval and will use 'cron' expressions to schedule the actions.

Configure what happens if an action is still running at the next schedule, if concurrent execution is allowed the action will run in parallel. If concurrent execution isn't allowed the schedule will be skipped.

The actions will automatically be executed on the 'cluster manager' only. Sometimes the platform needs a couple of minutes to determine the cluster manager, so it could happen that it takes up to 5 minutes before the scheduled events start.

Log4j CVE: This module is depending on the Quartz Scheduler library which uses log4j. Specifically this module includes Log4j-1.2.16, and as per the CVE this vulnerability is only applicable for Apache log4j between versions 2.0 and 2.14.1 therefore there are no known vulnerabilities in this module.

Typical usage scenario

Schedule Microflows, compatible with an High Availability architecture, if you want to run your microflows only once and allow for fail-over you can use this module to configure your actions.
If you want to have more control on when your actions are execute or how to handle overlapping executing use this module.

Configuration

Microflows can be scheduled through the UI, or using the microflow in the Use Me folder. Just setup your action in your startup microflow, the module will evaluate that the action is configured with the correct parameters.

For starting and stopping the module correctly you'll also need the after startup and before shutdown microflow. Those microflow will initialize the Schedule Manager and shut all actions down cleanly without any errors. By using the Scheduled Microflow interface you can setup you actions to run at specific intervals. The module will translate this configuration back to Cron expressions. If the UI does not offer you with the options you want you can also write your own Cron expression. The module uses Quartz 2.0, on this page you can find the documentation on writing Cron expressions using Quartz.

Interval types:

  • Minute: Schedule an action on a regular interval. You can schedule the actions with an x-minute interval. The maximum interval that can be used is 60 minutes. For larger intervals you should create multiple schedules.
  • Hour:
    Schedule an action on a regular hourly interval. You can schedule the actions on an x-hourly bases, the maximum interval that can be used is 24 hours.
  • Month:
    Schedule an action on a specific date of the month, or at a specific day of the week, such as the 'first/second/third/fourth/last' Monday every 2 months.
  • Year: (Not Implemented) Will offer the same ability as the monthly schedule, but with the difference that you can select a specific month, and allow it to run every x-year.



Still to be implemented:

  • Yearly recurring interval
  • Exclusive execution of a microflow, allow a user to configure that an action cannot start if another action is running.

Releases

Version: 1.6.0
Framework Version: 9.0.5
Release Notes: Upgrade to 9.0.5
Version: 1.5.0
Framework Version: 8.12.7
Release Notes: Upgrade to 8.12.7
Version: 1.4.0
Framework Version: 7.3.0
Release Notes: Upgraded the model to 8.3.0
Version: 1.3.1
Framework Version: 7.3.0
Release Notes: Userlib upgrade to same version as used in other common modules Modeler upgrade to 7.16 to prevent a few annoying issues when downloading the module Improved model UI components for improved Atlas UI compatibility
Version: 1.3.0
Framework Version: 7.3.0
Release Notes: Userlib upgrade to same version as used in other common modules Modeler upgrade to 7.16 to prevent a few annoying issues when downloading the module