Programatically checking for Scheduled Maintenance - Mendix Forum

Programatically checking for Scheduled Maintenance

0

Context:  We have two aws state machines that run after midnight eastern standard time.  one restores production data to a reporting environment then restarts it,  the other downloads snapshots to local storage.

 

Issue:  these step functions run nightly, and will error if they encounter the api while it is in maintenance.

 

Idea:  to have some way to allow the first step of these state machines to check for maintenance either in progress or scheduled to begin within a hour.  If we had such an option, the state machine can postpone its execution until such a time as the maintenance is complete

asked
1 answers

We can achieve this by Create a Lambda function that checks Mendix's maintenance status by Calling Mendix's API for maintenance status (if available) - Or checking a predefined maintenance schedule stored in AWS Systems.

Created