Values
Values
What are values?
Values can be simple or complex
Simple values
Simple values are numbers, truth-values (true & false), bits of text. Examples:
4389
true
Billy Bunter
Complex values: Object instance
Logiak also allows values to be Object instances which is a record made up of several fields, each of which have (simple) values.
Value names
In a Logiak Process values have names.
These are usually short and “symbolic” (i.e. lowercase, no spaces or hyphens ..), but should seek to be mnemonic (remind you what value they represent).
For example, the “simple” values above might have names such as:
invoice_id
invoice_is_paid
customer_name
Referring to simple values
Names let us refer to values, even when we don’t actually know what the values are.
Everyone is likely familiar with maths at school where values get associated with names: “let x equals 5…”
For simple values, surrounding the value name with braces gets us the value
{x}
This expression might represent the value 5
{customer_name}
This expression might represent the value Fred Bloggs.
Read more about how to refer to values, including how to refer to field values within object instances´values
Four sources of values in Logiak
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.