Comment
Gerrity
Tera Expert
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
10-11-2022
07:16 AM
Hello All,
I too couldn't get this to work when using:
inputs.requested_item.variables[inputs.variable_name] = inputs.variable_value;
Instead I had to hard code [inputs.variable_name] to be the name of the variable I needed updated (which removes the flexibility of this action) so for example, I had to set it to:
inputs.requested_item.variables["my_variable_name"] = inputs.variable_value;
Great solution and would appreciate it if anyone can figure out why [inputs.variable_name] is not working in order to make this more re-usable and dynamic.
Cheers!