--- title: "Variables" slug: "intro-concepts-variables" status: "update" updated: 2026-08-04T06:11:41Z published: 2026-08-04T06:12:28Z canonical: "docs.lobstersoftware.com/intro-concepts-variables" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Variables Variables can be used in many input fields, templates and parameter fields of functions. The values will then be replaced by actual values during runtime. ## Variable categories Two different categories of variables can be distinguished. - System variables - Profile variables ## Variable types Variables can have the data types "String", "Integer", "Double", "Date", "Boolean", "Float", "BigDecimal", "BigInteger", "TimeStamp" or "Blob". ## Naming conventions - Allowed characters are *a-Z* and *0-9* and the special characters *_* and *#.* - No whitespaces and no special characters besides _ and *#* are allowed. - The name may not begin with a number. - We recommend the naming convention *VAR_NAME.* ## Creating variables Variables are usually created in the profile. In addition, there is the possibility to create variables in a file *./etc/admin/datawizard/custom_variables.xml*. Following is an example configuration file. **NOTE:** See also section "Initializing variables" below for another possibility. ```xml ``` ### Available attributes | Attribute | Description | | --- | --- | | name | The name of the variable. | | type | The type of the variable. Allowed values are *int*(*eger*), *float*, *double*, *string*, *date*, *time*(*stamp*), *bigint*, *bigdec*(*imal*) and *boolean*. | | value | The initial value of the variable. | | description | The description text of the variable. | | reset | Allowed values: "true" and "false". Corresponds to column "Reset" in the variable dialog of the GUI. | | client | The client, for which the variable is created (*-1* is the default client). | ## Accessing variables Variables in input fields are accessed with the syntax*@VARIABLE@*. In templates, you usually have to use the syntax *{--@VARIABLE@--}*. This is mentioned in relevant parts of the documentation. In parameters of functions, variables can be selected directly. ## Initializing variables Variables with prefix *MSG_CALL_* are initialized at the start of Phase 1. System variables are initialized at the start of Phase 2. Profile variables are initialized at the start of Phase 3. You will find an exception in the event based Input agent "HTTP" . You can also use the possibility to initialize variables with a Java class. The class must be derived from the class *com.ebd.hub.datawizard.plugin.AbstractInitializeVariables*. We provide a programming interface (API) that also allows you to develop your own classes in Java. For this, we offer in-depth training. If you are interested, please contact our support or sales staff. The class *com.ebd.hub.datawizard.plugin.ChangeVariables* is available as a default implementation. Add the following entry (already included as comment) to the configuration file *./etc/startup.xml* to activate the class. ```xml com.ebd.hub.datawizard.plugin.ChangeVariables ``` The class is executed with each started job, initializing the variables at the start of Phase 3. The variable values are set in the configuration file *./conf/PredefinedVariables.properties*. The properties file looks like follows. It should be noted that the variable used must be defined in the profile. Alternatively, you can use class *AddOrChangeVariables* instead of class *ChangeVariables* class, in which case the variables do not have to be defined . **NOTE:** The variable is cast to the type it has in the profile. So if for example, the profile has a variable *var__TEST* of type *Integer*, the properties file specification *var__TEST=Hello* will result in value *0* for the variable because of the implicit type cast from *String* to *Integer*. If class *AddOrChangeVariables* is used, the variables always have the type *String*. ```plaintext #Assign a value with = #It should be noted that the variable used must be defined in the profile! var__TEST=Hello ``` ## Relevant functions - [save variable a(b) type-safe](/v1/docs/en/basic-set-global-variable-2) - [calculate and save variable()](/v1/docs/en/basic-change-variable) - [resolve-var-syntax()](/v1/docs/en/string-resolve-variable-syntax) Input: An input agent receives the data. It can work either as event based (e.g. FTP upload) or scheduled (cron). Parsing: The input data is parsed into the source structure. The source structure represents the input format. Mapping: Rules transfer the data from the source structure to the target structure. This is the core of the profile. The input agent receives data in Phase 1 and starts a job for further processing. It works either as event based (passively waits for data) or scheduled (actively fetches data).