How to use a constant to control a scheduling event

0
Hi,   I have been using a schedular for a microflow execution after fixed interval. Knowing the possibility of configuring  it via a constant, need help on how to achieve that? So that I can set different constant values for different environments and avoid deploying the build every time I have a changed value.
asked
2 answers
0

Hi Vishal,

 

Mendix automatically provides a way to manage Scheduled Events without the need of additional constants. You can access the Sprintr Environment → App you want to manage → Environments → Click on Details for the Environment → Model Options tab → Scheduled events.

 

Here, you can toggle Events on/off. All scheduled events are listed here. Please note that you still need to restart your application for any new values to take effect.

answered
0

You can let the scheduler run a microflow.

In this microflow the first thing to add is a Decision.

In this Decision you can check if a value of a constant is true/false (or any other logic (for example time interval)

answered