Is it possible to retrieve a list contained in a repeating group and store it in a custom?

hello everyone, I’m french so excuse me for the translation

i would like to know if it is possible to retrieve a list contained in a repeating group and store it in a custom state please

let me explain, I use an API that returns me city names and their postal code.

i display the search result in a repeating group.

i created a button and in the workflow I would like to configure it as follows: when I click on the button, all the postal codes found in the repeating group are copied into the custom_state_postalcode

each time it offers me first last or random but I want to retrieve all the postal codes contained in this repeating group

is this possible?

where does my error come from

thanks in advance for your answers

Use Orchestra plugin to extract every rows’s data and then save it.

When creating the custom state, just set it to be a list. If the postal codes are text, just select the type text and the check box for list as you’re creating the custom state. Once the custom state is a list, ignore the ‘first’, ‘last’ or ‘random item’ as you create the expression for the value of the custom state you won’t get an error in your expression

I have already done this, my custom_state is configured to text and list.

but when I want to do my workflows, the only options that allow me to complete the workflow (text in blue or it in red) is first, last, random item, when I select another option, I can’t never has to finish the workflow so that it is accepted in blue.

there is no solution other than using a plugin as said in the post above?

thank you very much for your answer, but don’t you know of a solution that avoids using a plugin?

thank you very much for your answer which allowed me to find my error, indeed, at the level of my custom_state the list box was unchecked, it is for this reason that I could only display one element and that I was offered to display the first or the last

thanks again

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.