At design time,Can I dynamically change the root activiti's variables by code?
Like this:
(Designer.Context.Services.GetService<ModelService>().Root.GetCurrentValue() as RootActivity).Variables.Add(new Variable<bool>("a",false));
Give me some advice.Thanks