Model Automation

Now you have learned what elements are needed to build a basic application, this section will provide information about how to add a level of automation. This might be as simple as creating buttons to let users move from one part of your application to another, or something more complex, such as calculating values based on the end user's choices. Almost all of KnowledgeKube's most powerful features rely on automation in some way or another.

Topic Description Further Reading
Introducing Expressions An Expression is an instruction that tells KnowledgeKube to perform a scripted task and produce an output value. Expressions
The Expression Editor The Expression Editor is the main interface used to write and manage expressions. The Expression Editor
Introducing Functions A Function is a piece of pre-defined code that instructs your application to perform one or more tasks. Functions
Writing an Expression Comment Use the Mercato Expression Engine to add lines of readable text, known as Comments to expression code. Writing Expression Comments
Using an Expression Snippet When you create an expression use standard code templates known as Expression Snippets, instead of manually typing out your expression's code. Using Expression Snippets
Implementing an Expression Group Create a group in your model that specifically holds expression content. Implementing an Expression Group
Model Identifiers Identifiers are data containers within your KnowledgeKube application. Each Identifier has a unique Keyword and can be Variables that contain a dynamically assigned value, Constants that have a fixed pre-determined value, or Key Value Pairs that are a set of two linked data items. Model Identifiers
Assigning a Value to a Variable There are two ways of assigning a value to a variable - a response can be assigned to one using the question's Target Model Variable, and you can manually assign a specific value to a variable, called an Assignment Statement. Assigning a Value to a Variable
Implementing a Button Buttons can be added inline with application content, and can be used to run expressions and actions when clicked. Implementing a Button
Creating a Means of Navigation Use Navigation Buttons to enable navigation between different parts of your application. Creating a Means of Navigation
Implementing a Progress Indicator Adds a navigation interface to every page of your model. Progress Indicators
Actions A way to deploy expressions that lets your application call them as and when they are needed. Actions
The Scheduler Use this special interface to supplement your application with automated Tasks. The Scheduler
CSV Lists A character-separated list of values that are often used in expressions. CSV Lists
Model Status Management Assign a single state to your model, putting it into one of a pre-set list of 'modes'. This state behaves similarly to a variable, but has a strict list of potential values. Each value is paired with explanatory text, which can be translated as required. Model Status Management
Model Cargo Use properties such as web query strings and session variables to share data between a KnowledgeKube application and an external location. Model Cargo

This section also includes the following appendices: