Evaluation Dashboard logic is used to build the page content of a Tab with type dashboard. It is used to allow user to enter input values, and to present them the results of the calculations in form of charts and tables.
It is made to be evaluated synchronously, when the user interacts with the UI, their results are never persisted but their inputs are saved with the model.
They can do anything read only related to the Model Object where they are executed, including accessing previous steps inputs, previous calculations outputs, querying Model Tables, reading attachments, etc., via the model
binding.
Configuration
The logic is referenced/used in the definition of the Tab, in the Model Class definition.
Logic API
To ensure that this synchronous experience is always smooth and reactive for the user : a good practice is to set the elementTimeout
property of all the logic elements to 0
.
Logic Nature:
model_evaluation
Execution Types
Syntax Check - Defines the input fields for the Tab.
Standard - Calculates the results and builds content of the portlets (e.g., charts)
Information provided to the logic:
Syntax Check
binding variables:
model
(of type ModelEvaluationFormulaContext )- it includes Model table, inputs from previous steps and outputs from previous calculations.
Standard
binding variables
model
(of type ModelEvaluationFormulaContext ) - it includes Model table, inputs from previous steps and outputs from previous calculations.input
(Map)- Values of all inputs provided by the user in the input fields of the current Tab
Expected logic execution outcome:
Syntax Check
input field definitions placed in the logic’s context
Standard
content of the portlets provided via values of the elements output. Any type of results that can be shown to the user, e.g., data, charts, data tables.
Critical Alert - will block the Continue button