After updating KAP, I would like to know how we could update this node configuration: 2 flowvariables created by a “Create Tem Dir” node (flowvariables values are just examples)
There aren’t individual value configuration fields for these flowvariables. How am I supposed to enter the values? Using an array? I did some tries without success…
Hi @jricgar , I also find the lack of (obvious) support for array variable creation, even though they are widely used to be a little bewildering. However, in terms of creating them, one possible mechanism is as follows:
Essentially the List aggregation within GroupBy will create string arrays, and then these can be converted to variables. Now that you’ve mentioned it, I’m going to look today at creating a component to hide the implementation and make it easy to create a String Array variable from a single component-node.
In the meantime, here is a sample workflow. There will be other variations on doing this but the principle will be much the same I’d imagine.
This is where I have that horrible feeling that somebody is going to tell me there is already a node that does exactly this, but if there is, I haven’t found it
I have created a component that allows you to give the name and values for a String Array flow variable.