Hi All,
Is there any way for us to make a list in the subflow property? I want to create a subflow property that allows the user to add rows consisting of two variables. I use this picture from the s7-endpoint node as an example.
Hi All,
Is there any way for us to make a list in the subflow property? I want to create a subflow property that allows the user to add rows consisting of two variables. I use this picture from the s7-endpoint node as an example.
Are you looking for the "environment variable" tab of the subflow instance node?
Yes I want to make environment variable, but I want to input the property as a list
The subflow properties are static and deployed at runtime (deploy), i wish these could be dynamically populated, it would add a lot of flexibility.
As an alternative, you could add a template node before the subflow and pass the variables, something like this
This is formatted as 'parsed YAML', inside the subflow you can now these properties.
Yes I want to use static subflow property. However, I want to make the subflow property type as list. Is it possible? For now, I use JSON and jsonata as alternative
What do you mean by a list? Do you mean an array?
Yes an array of object. For the example, I attached image of node-red-contrib-s7 config node above.
Allow the property to be of type JSON then you can enter an array.