LSPS documentation logo
LSPS Documentation
Model Elements

Expressions can access named elements defined in the model, which cannot be defined directly in the Expression Language.

Such model elements include the following:

  • Modules represent a structuring unit similar to a package and contain all the resources with model elements. A module can use resources of another module only if it imports the module–similarly to packages in Java. The module importing mechanism is described in the GO-BPMN Modeling Language guide.

    If you want to reference an element from another module, the name of the entity must be preceded by the module name and the :: operator.


  • Functions are defined in a function definition file in a module.

    To call a function from an expression, use the following syntax:


    Note that parameters can be themselves expressions that return the data type defined as the parameter type. If a function requires a parameter of the String data type, the parameter can be an expression that results in a String object.


    Note: Other elements are implemented as functions and are called in the same way. This includes queries and forms.

  • Variables from parent namespaces are defined in a variable definition file, or directly on the elements representing the parent namespace, for example, a sub-process, a form, etc.

    Variables from parent namespaces are referred to by their name with no special notation.

    Note: When referencing variables from imported modules, use the namespace operator (::). Further information on variables is available in the GO-BPMN Modeling Language Specification.

  • Records and their fields are defined in a data type definition file.

    Records are referred to by their name with no special notation. To access record fields, use the dot operator: <RECORD_NAME>.<RECORD_FIELD>

  • Constants are named values of a basic data type, the enumeration data type, or maps of the these data types. After their value has been initialized, it remains unchanged during the rest of the runtime. Initialization expressions of constants can use other constants.

    Constants cannot be defined in the Expression Language directly. To call a constant in an expression, use its name, for example, "This is the current date format: " + DATE_FORMAT.