Hello. I'm try to add PM variable from code in CustomActionEditor.
I did not find the interface to add or remove some variables, only the get/set methods in Fsm.Variables.(FsmType). However, using set-method remove all assignments of variables. I use it to load the variable names and their values from the xml to display dialogs.
While I treat the following ways: one button compares the existing variables, and tells what variables are present in the xml, but not in the variables; the other button fills exist variables from the file; the third (with a warning that all assignments of type String will be lost) creates an array and sets Fsm.Variables.StringVariables.
Is it possible to add / remove variables from the code without losing assignments?