Skip to Content
Reference GuideCore ConceptsSymbols, Variables & Constants

Symbols, Variables & Constants

Data can have multiple shapes in metamorphOS. Every unit of data, called Symbol, has a certain type that defines this.

TypeDescriptionAdditional Specifications
TextAny kind of text, like name or e-mail but also formatted text.Text, RichText, Regex
NumberAllows to take in numbers and also specify the unit.Unit
DateSpecify a certain day.
FileAny kind of file up to 100MB
BooleanTrue or False, Yes or No
UserA user of the current workspace.
AuthorityStands for a role or permission a user can have. Used for authorization.
OrganizationAn entity that a collection of user can be part of. Used for authorization.
GroupA smaller entity or team a user can be part of. Used for authorization.
ProgramThe code behind a process. Required for creating and updating processes.
ProcessThis is reference to a process that exists in the system.
ControllerThe code for the functional component that Actions emerge from. Allows to create new Actions.
ObjectGeneric kind of data object.
ArrayGeneric kind of list. Is used in “Select from” Symbols or can be looped over with the “Iterate” controller.Symbol Type of the Array

Mutability: Variable vs Constant

Some data in a process might not change over the course of it’s execution and have a value assigned even before the process starts. They are called “Constants”. Those who do change or are not specified from the beginning are called “Variables”.

Constants are directly defined during symbol creation.

Scope: Global vs Local

As steps require configuration, certain functional data is created that is not relevant for the business logic itself. To not clutter the data space and make it hard to lookup important information, such information is “Local” to a step, whereas the business relevant is called “Global”.

Add Data Dialog

This is the standard dialog used when defining a symbol. It can be opened from:

The dialog changes depending on the type of symbol being defined.

Note

the Create button will enable once all required fields for the particular type and configuration

Add Data (Standard)

The standard Add Data dialog starts configured to create a constant.

Add new Parameter

Last updated on