Use property values as variables

You can use property values as variables in the following places:

  • State change conditions

  • Actions on state change

  • Notification templates

Variable format

The system uses the following variable format to access properties:

{{parent[`parent name`|class.(name|id)=`name|id`].properties[`name`][`valueIndex`]}}
properties[name] is required.

Usage examples

{{properties[name]}} - Get property value using its name from the current object or a class.

{{parent.properties[name]}} - Get property value using its name from the current object’s first parent, where this property is found.

{{parent[parent name].properties[name]}} - Get property value using its name from the current object’s first parent with the name parent name.

{{parent[class.name=class name].properties[name]}} - Get property value using its name from the current object’s first parent with the class class name.

{{parent[class.id=class id].properties[name]}} - Get property value using its name from the current object’s first parent with the class with ID class id.

If the value is selected from the dictionary that allows you to select multiple options, you can get values by their index, where 0 is the dictionary’s key.

In this case, the variable format would look like this – {{properties[name][value index]}}, where value index is the index of the value you want to get.