HELP!

Deployment System Detection

To enable the same knowledge base application to be customised depending on the different deployment types requires the ability to detect which deployment type the application mode is running at any given point in time. The developer can use the Add System Detection tool (under the 'Advanced Tools' section of the Build Tools) to create list Attributes that returns the current runtime deployment type. This build tool has 3 options:

  • to detect the type of User Interface being rendered,
  • to detect the deployment target
  • to detect if it is being run using the Test Run.

Each of the Build Tool options generates a different List Object which automatically acquires the mode value at runtime.

If there is a need to distinguish between the different deployments at runtime, the developer can include one or more of these Attributes in a Decision Flow. For example only the Chat deployment has the Upload feature.

The values returned for the deployment target detection are as shown in square brackets below:

  • Dialog
    • Web Browser
      • Viabl.ai Platform Cloud Server [Browser_Deployment_Server]
      • Deployment Server [Browser_Deployment_Server]
      • Deployment Files [Browser_Web_Server]
    • Mobile App
      • Viabl.ai Platform Cloud Server [App_Expert_Advisor]
      • Deployment Server [App_Expert_Advisor]
      • Deployment Files [App_Embedded]
  • Chat
    • Web Browser
      • Viabl.ai Platform Cloud Server [Browser_Deployment_Server]
      • Deployment Server [Browser_Deployment_Server]
      • Deployment Files [Browser_Web_Server]
    • Mobile App
      • Viabl.ai Platform Cloud Server [App_Expert_Advisor]
      • Deployment Server [App_Expert_Advisor]
      • Deployment Files [App_Embedded]
    • Chat Server [Chat_Deployment]
  • Silent
    • Viabl.ai Platform Rules Engine [Web_Service_Deployment]
    • Viabl.ai Platform Rules Engine Files [Web_Service_Deployment]
    • Node-RED Rules [Node_RED_Deployment]

On This Page