Forum Academy Marketplace Showcase Pricing Features

How to add values from each item in repeating group to custom state


I have a repeating group that displays multiple records. Each record contains a field ‘code’ from a custom data type. I want to implement a button outside the repeating group that - when pressed - retrieves all codes from the records and adds them in a list in a custom state. How can I implement a workflow that does this? So after pressing the button the content of the custom state is a list of codes.

Thanks in advance, Rob

When button is pressed
Set state to
Repeating group records each items Code

Got it, tried it but there was a mismatch between data types between the state and the database fields. Thanks!

1 Like