Server Wide Variables
(Created page with "In the MDrivenServer you can set Server Wide Variables : none|thumb|536x536px If we find a matching variable name in your ServerSideViewModel...")
 
No edit summary
Line 6: Line 6:


The normal use case is to clearly give information to jobs that this is a Production environment and every action can be executed, or this is NOT a production environment and thus you may want hold of exporting data och maybe export data to a different external system than what you use in production.
The normal use case is to clearly give information to jobs that this is a Production environment and every action can be executed, or this is NOT a production environment and thus you may want hold of exporting data och maybe export data to a different external system than what you use in production.
==== New 2020-11-27 vServerRestartedTime ====
If you declare a variable vServerRestartedTime:DateTime this will be set to the time where the system was most recently restarted - because of a model evolve or some external event that killed the application.

Revision as of 12:07, 26 November 2020

In the MDrivenServer you can set Server Wide Variables :

2020-11-20 10h53 19.png

If we find a matching variable name in your ServerSideViewModel the Server Wide Pre EAL will execute before the rest of your job actions.

This is a practical way to give your jobs information that are environment specific.

The normal use case is to clearly give information to jobs that this is a Production environment and every action can be executed, or this is NOT a production environment and thus you may want hold of exporting data och maybe export data to a different external system than what you use in production.

New 2020-11-27 vServerRestartedTime

If you declare a variable vServerRestartedTime:DateTime this will be set to the time where the system was most recently restarted - because of a model evolve or some external event that killed the application.

This page was edited 98 days ago on 02/10/2024. What links here