User Interface#
The Automation Business Scenario leverages the Cortex UI to also be able to run scenarios.
By selecting a scenario from the dropdown and pressing the arrow icon it will start a new scenario.
The user can then interact with the scenario by typing in the response box and submitting an answer.
When submitting a response it will show in the chat and executes the next step of the scenario. The response box can have multiple types, depending on what is configured for that step.
No Scenarios#
If there are no scenarios available for a given scope, the chatbot will inform the user and show the url where to create new scenarios.
Header Buttons#
The Cortex UI will provide two buttons to interact:
Restart- Will restart the scenario choice and keep all previous historyClean- Will restart the scenario choice and delete all previous history
Start and End Behavior#
The welcome and end message are controlled by configuration entries.
Welcome#
The welcome message is configured in the configuration entry /Cmf/System/Configuration/ConnectIoT/BusinessScenarioStartBehavior/. It configures the message to show, if there are available business scenarios in messages. It also allows to configure a behavior for when there aren't scenarios.
Default message:
{
"messages":[],
"noBusinessScenario":[
{
"type":12,
"text":"No available Business Scenario for this Scope. To add new scenarios go to:",
"urls":[
{
"name":"AutomationBusinessScenario",
"url":"/Automation/AutomationBusinessScenario"
}
]
}
]
}
End#
The end message is configured in the configuration entry /Cmf/System/Configuration/ConnectIoT/BusinessScenarioEndBehavior/.
Default message:




