Page 1 of 1

Duplicate variables, as with macros

Posted: Thu Dec 18, 2025 2:50 pm
by Brendan
Hello team.

I'm in the process of creating a batch of additional new variables to accompany a number of previously-created associated variables.

I presently need to copy created variable names to save time manually entering the names of similar new variables, each created one-by-one with associated var type and default value fields. It would therefore be really useful to be able to duplicate variables in the drop-down, just as one can presently do with macros (i.e. duplicated with "...copy" at the end).

Many thanks,
Brendan

Re: Duplicate variables, as with macros

Posted: Thu Dec 18, 2025 3:59 pm
by mnfisher
Hi Brendan,

Take a look at using local variables - in each macro. then they will be copied / created as required and the danger of unpleasant side effects (due to using the wrong variable!) is minimised...

Martin

Re: Duplicate variables, as with macros

Posted: Thu Dec 18, 2025 6:37 pm
by Steve-Matrix
Martin makes a good point and I would second using local variables where possible.

Also, I have added a rudimentary copy/paste for variables which should be available in the next core update of Flowcode v11.