Skip to content

Global variables

Global variables are named values that you can reuse in other elements of CogTL configuration, like expressions or CoQL queries.

In a very simple manner, a global variable is identified by its name, has an informative description, a value type and a value.

The global variable can then be used in expressions and CoQL queries with the following syntax:

${variableName}

For example, in a CoQL query:

.type="Person" name="${director.name}"

... assuming that a global variable named director.name exists.