TilliT
HomepageChangelogDeveloper
  • Home
  • Introduction to TilliT
    • Introduction for New TilliT Customers
    • Videos
  • Getting Started
    • Overview
    • Definitions
    • Set up a Site & Assets
    • Set up an Activity
    • Create an Order
    • Start an Order
    • Next steps
  • Planning
    • Overview
    • Data Gathering
      • Site & Assets
      • Production Orders
      • Activities
      • Shifts & Calendars
      • Materials
      • Process Variables
      • Attributes
      • Articles
      • Checklist
  • Knowledge Base
    • Everyday Usage
      • Layout Overview
      • Login to TilliT
      • Basic functionality
      • Lock screen
      • Pinning Assets
      • Switch Site
      • Next Steps
      • Activities
        • Claiming
        • Completing
        • Manually starting
      • Orders
        • Create adhoc Order
      • Events
        • Raising an Event Using the UI
      • Notifications
    • Scheduler
      • Introduction
      • Feature Overview
      • Scheduler to Digital Operations integration
      • Scheduling
        • Scheduling
        • Orders
        • Scenarios
        • Inventory
      • Configuration
        • Operations
        • Equipment
        • Personnel
        • Materials
        • Availability
        • Optimisation
        • Changeovers
        • Loading data with excel Add-in
      • MVP Setup Guide
    • Insights
      • Activity report
      • Production Report
      • Dashboards
      • Advanced Analytics
        • Sharing dashboard
    • Users
      • User
        • User Confirmation
        • User channels
        • User subscriptions
      • Groups
      • Permissions
      • User authentication with SSO
    • Boards
    • Settings
      • Asset Hierarchy
        • Site
        • Asset
          • Asset Attributes
          • Asset Tolerances
          • Downtime periods
          • Attribute Group
          • Edge data tags
        • Asset class
        • Order Templates
          • Order Template with Unit Conversion
        • Calendar
          • Calendar item
        • Shifts Templates
          • Creating Shift Templates
          • Manual shift patterns
        • Asset Meter
      • Material Definition
        • Material
        • Material group
        • Material attributes
          • Example of material attributes
        • Material tolerance
          • Example of Material tolerance
        • Material component
        • Material conversion
      • Activity Templates
        • Activity template
          • Creating an activity
          • Where
          • When
          • Versioning
          • Building
          • Elements
            • Item types
              • Item properties
                • Active item & hidden expressions
                • Hint
                • Tolerance Source
              • Update Attribute
              • Board Item
              • Raise event
            • Data Types
              • Evaluate Data types & Dynamic Note
              • Note
              • Option list
              • Dynamic option list
              • Barcode
              • GS1 Barcode Scanner
              • Edge data
              • Material Component
              • Image capture
              • Sections
              • Digital Signature
              • Material
              • Dynamic Form Items
              • Inventory Key
        • Activity class
      • Events
        • Event Type
        • Event Relay
        • Event Schedule
      • Articles
      • Integrations
        • Adding Webhook Subscriptions
        • MQTT Integration
        • Receive the TilliT Event
        • Notifications
      • Configuration
        • Attribute
        • Attribute group
        • Tolerances
        • Dashboard group
        • Report Templates
          • Creating and Using Report Templates
        • Process variable
        • Unit of Measure
        • Run Rate Template
      • Translation
      • Audit Log
    • Edge
      • Introduction
      • Before You Start
        • Security / Firewall
        • TilliT Edge
        • Understanding your Networks
        • Common Installation Solutions
        • Managing and Publishing changes
      • Physical Device
        • Setup
      • Using Docker
        • Upgrading a docker container from before 2025
      • Common Data Sources
        • OPC-UA
        • Modbus TCP
        • Ethernet IP
        • Profinet
        • RTLE
        • Simulator
      • Data Tags
        • Data Tag Templates
        • Order Number Tag Template
        • Edge Data Tag Options
      • Edge Triggers
      • TilliT Sensors
        • Connect TilliT Edge to a Wireless Gateway
        • Bind a Wireless Counter to a Wireless Gateway
        • Configure FEN-20 PNP Sensor
      • Troubleshooting
      • Windows Edge Installer
    • History
    • OEE
      • Two Steps to Availability
      • Two Steps to Performance
      • A Step to Quality
    • Track and Trace
      • Before you begin
      • Transaction Types
      • Movement Types
      • Movement Types Field
      • Adding Material Movement to an Activity Template
      • Completing the Activity
      • Reporting
    • Mobile View
      • Device shortcut
      • Unable to enter Negative Numbers
    • Importing, Exporting and Cloning Entities
    • Troubleshooting
  • Tools
    • Excel add-in
      • How to Install the Excel Add-in
        • Excel Online
        • Desktop
      • How to Update the Excel Add-in
      • Loading multiple orders
      • Maintaining Master Data in Bulk
      • Downloading Time-Series Data
    • Staging Environment
    • Ignition Module
      • Installation
      • TilliT Tag Provider
        • Data From TilliT to Ignition
        • Data From Ignition To TilliT
      • Scripting Using the TilliT Module
      • Network Security
  • INFRASTRUCTURE
    • FAQ
    • Architecture
    • Disaster Recovery
    • Software Quality Assurance
Powered by GitBook
On this page
  • Mathematic Calculation
  • JavaScript Calculation
  1. Knowledge Base
  2. Settings
  3. Activity Templates
  4. Activity template
  5. Elements
  6. Data Types

Evaluate Data types & Dynamic Note

PreviousData TypesNextNote

Last updated 8 months ago

Note: The Evaluation item type used to be called 'Calculation' but had been replaced by 'Evaluate' item types.

The Calculation property in TilliT is available when using Evaluate Boolean/Text/Number or Read only note. However, the same tool is also integrated in the item properties Active item & hidden expressionsalongside Tolerances.

Calculations with Evaluation item type can be as simple or as complex as you need them to be. You can use either mathematics or JavaScript. If you're not familiar with JavaScript, a good source to get started with is .

To calculate variable values, you can reference elements in the form, using the item key, and you can also reference attributes. When you open the calculation tool, these will be listed. Simple click one and it will be added to the calculation.

However, it is important to note that depends on the Evaluation type that you choose, the system will expects the result of the calculation to be of that type. (Text, Number or Boolean)

Mathematic Calculation

In the following example, we are using a Evaluate Number data type.

Click on the calculator icon next to the field Calculation.

In the first screenshot, below, the attribute 'Bottle Volume' will be multiplied by 6. In this example, the value of Bottle Volume is 750.

The second screenshot is from the activity from the operator's perspective, which is shows the result of the calculation.

JavaScript Calculation

If you're comfortable using JavaScript in your calculations, you can unlock a lot of extra functionality within TilliT. In the example below, we are using the Read only note data type. The calculation is an optional section of Read only note. You can simply use the Name or Hint property to write your note. However, using the Calculation property allows you to write more dynamic notes.

In the first screenshot, the note is made of 3 parts. The first part is a text string, written within quotations. We then add the attribute Closure Type, which is has a text value, but you can use number and Boolean types as well. Booleans will be parsed as text string (stating true or false).

Finally, we add another text string to finish the statement.

In our example, Closure Type has a value of "Cork", so the result of our calculation above becomes:

This work on a calculation in the same way. The only difference would be a Data Type of Calculation, with the different card in the activity form:

W3 Schools