How to add an element to a list, that is a custom state?

Good day!
I’m trying to use a custom state as a source for a repeating group
but can’t to add an element to this list



Hey @kvitok8320 you can simply refer to the custom state list and add a data

The reason why you are unable to add something to the list is because you are are referring to the data type, not the custom state.

As you have mentioned, you want to use the custom state as a data source. So if you wish to add something to that source, you need to change the custom state, not the data type.

First off, you need to make a custom state and set the type to your data type, and set it to a list.

Then if you wish to add something to the custom state list, you can simply do this in your workflow:

Set state, and set the value to the current state:plus item (your element)
image

Hope this helps :slight_smile:

5 Likes

Thank you! It works!

1 Like

absolutely lifesaver! I wonder why this isn’t mentioned anywhere else

1 Like