Skip to main content

Execute Expression Action

Execute Expression Action evaluates the specified expression at runtime. It can be used to perform calculations, call functions, manipulate variables, or execute any valid expression supported by the Talos scripting language. This is useful for inline computations, side effects, or any expression evaluation that doesn't need to be tied to a specific variable assignment.

Appearance

In Talos, Execute Expression Action appears as a standard rectangular node with a person-running icon.

Execute Expression Icon

Properties

As all Actions, Execute Expression Action has a few unique properties that are essential for its functionality.

Common properties

Common properties inherited from Action.

Display NameString
This is the display name of the action.

By customizing this property, you can differentiate between same type of actions.

Action IDString
Indicates the unique ID of this action.

This property is Read only and it is not customizable

DisabledBoolean
If set to true, this action is considered disabled and will not be executed.
ExpressionExpression
The expression to evaluate.

See more about Talos Scripting language & Expressions

tip

This property accepts any valid expression. It will be evaluated at runtime using the scripting engine.

Examples

Below are a few valid expressions for this property. Assuming a declared Integer variable with name index and a String variable str.

${index} + 1
${str}.Length()