Screen and block lifecycle events
Pages and blocks in OutSystems follow a set of steps in their rendering and responding to changes. These steps are called event handlers. These events occur when we open the application, when we change screens, or when the application reacts to a change in data. These events can be defined in the screen properties or in the properties of data fetch actions (aggregates or fetching data from other sources) in order to cover the full scope of occurrences that may exist.
In the application launch scenario, the normal lifecycle is as follows:
In this case (opening an application), the app shows the splash screen and then navigates to the default screen.
The other case where a screen is loaded is when we navigate from a regular screen to another regular screen, the behavior being slightly different: