# mutate_variable_expression

Name mutate_variable_expression
Type callback
Version 1.0
Since 2020-01-01

# Prologue

Callback is similar to QuickActions panel. It sets expression result to variable. You can use any processing variable in expression.

# Configuration

events:

	# Event's name
	on_process_complete:

		# Callback's name
		mutate_variable_expression:
			config:

				# Required
				variables:
					variable_name: "boolean_variable ? 'yes' : 'no'"

					# If all of a,b,c variables are defined in process and set to 1. Number 3 will be set to variable sum
					sum: "a + b + c"

					# Text input needs to be quoted
					textname: "'Hello Lotus!'"
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

This is smart callback to assign the result of the defined input to variable. Take a look at mutate_variable which is much simpler.