specs/models/M_APP_VER_VAR

Variable

Widgets and triggers utilize variables of specific types to determine user interaction and application flow. There are three categories of variables in apps:

  1. Primitive - a single value such as integer, text, or user
  2. Custom object - a variable with named attributes, each of which is a primitive
  3. Array - an ordered list in which every item is of the same type. The type can be either a primitive or a custom object.

The primitive variable types in apps:

Variable TypeDescription
Booleana true or false value
Colora value that encodes the standard RGBA standard used in web apps
Numbera numeric value that can have a decimal value. Max value: 9007199254740991
Image URLLink to an image in Tulip, which is stored by cloud provider. Max file size: 20MB. Max URL length: 2048 characters.
IntegerA numeric value that cannot have decimal values. Max value: 9007199254740991
IntervalA duration in time saved in milliseconds. Max value: 7730941132799 seconds
TextSequence of characters. Max size: 2.5kB in Tulip Tables; 50kB in other case. Truncated to 600 characters for analytics.
UserA user in the Tulip system. The user model includes custom fields (see 09 People Management)
DatetimeA specific date, time and timezone.
StationA station where an app is used, as determined by the "Stations" page
MachineA Machine that was outputting data as defined on the Machine Details page.
ObjectA general purpose, complex object with properties defined by the user.
FileLink to a file, which can be stored on our cloud provider. Max file size: 200MB for mp4 videos, 50MB for all other file types Max URL length: 2048 characters.

Furthermore, each variable type can also be saved as an array of that type, for example 'Boolean array' or 'Color array'.

Fields

NameDescription
NameUser defined name of the Variable
TypeData Type, chosen from the supported list of types.
Default ValueThe value that will be assigned to a variable when an App first starts.
Where UsedThe Widgets, Triggers and/or Steps where a Variable is used within the App.
Save for AnalysisSave this Variable with each Completion for later use in Analytics. Value will not be saved when disabled or after "Complete and Go To Splash Screen" action.
Clear on CompletionsReset Variable to default value after each Completion. The Variable will not be reset after a Completion when this option is disabled.

Tests

IDName
QA-T56Variable Widget : 01 - Simple variables in canvas can be changed to compound variables
QA-T57Variable Widget : 02 - Record View: Compound variables can be used with triggers
QA-T157Input Widgets : 01 - Boolean widget
QA-T458Variable modal : 01 - Create and modify a variable
QA-T459Variable modal : 02 - Variables need to have unique names
QA-T460Variable modal : 03 - Managing variables created within the app
QA-T461Variable modal : 04 - Variable's parameters
QA-T462Variable modal : 05 - Managing variables on the modal
QA-T463Variable modal : 06 - Deleting variables
QA-T477Input Widgets : 02 - Text widget
QA-T478Input Widgets : 03 - Number widget
QA-T479Input Widgets : 04 - Single Select widget
QA-T480Input Widgets : 05 - Multiselect widget
QA-T481Input Widgets : 06 - Date picker widget
QA-T482Input Widgets : 07 - Image widget
QA-T513Timer Widget : 02 - Target Time Configuration
QA-T568Dev Mode - Variables and Table Records
QA-T707Variable modal : 07 - Save for Analysis in Development Mode
QA-T763Signature Widget : 01 - Signature widget configuration
QA-T827Signature Widget : 02 - Signee options and variables
QA-T828Signature Widget : 02 / Signee options and mandatory features
QA-T829Signature Widget : 03 - Signing in LDAP, SAML
QA-T830Signature Widget : 03 / Denied signing in LDAP, SAML
QA-T839Input Widgets : 09 - Input Widget Labels
QA-T938App Export/Import : 02 - Widgets are Imported and Function

Requirements

No requirements