FrontM.js workflows
  • Updated on 17 Aug 2019
  • 1 minute to read
  • Contributors
  • Print
  • Share
  • Dark
    Light

FrontM.js workflows

  • Print
  • Share
  • Dark
    Light

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:
Intent Flow Processing (1)

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:
BotFlow Processing (1)

Was this article helpful?