Is it possible to set the DTAP mode in the Mendix Service? We would like to use this mode to retrieve it in a microflow and use different actions based on the mode (ie. Acceptation versus Production). How do I configure this mode in the Mendix Service? The default seems to be Production. Previously the mode could be specified in the Service Wrapper Configuration File.
You could create a DTAP entity in your domain model with an enumeration which is configurable. So you can set this in each enviroment. That way you can easily do different microflow actions for each DTAP value. I think that's better then using a java action to retrieve the DTAP setting.
You can add a setting in the Settings.yaml file, under Runtime: