The main mission of the FrontM abstraction layer is to control the flow of an App according to the schema described in the 'Application Modelling in FrontM' section of this document.
The Intents within an App are coded inside an entity called 'Intelligent Code Unit' and are processed following a flow like the one described in the diagram below:
When the App is started, the main Intent is executed and it reaches an initialized State 1.
After each Intent finishes, the state object is updated and this new State serves as input for the new Intent.
The workflow can expand, linking multiple Apps in a flow as shown in the diagram below: