to.set_variable

set_variable defines and updates the variable value.

{
    "to": [
        {
            "set_variable": {
                "name": "variable name",
                "value": "variable value"
            }
        }
    ]
}
Name Required Description
name Required Target variable name.
value Required Target variable value.

Confirm the current variable values

You can see the current variable values by EventViewer > Variables.

eventviewer-variables@2x.png