Uploading files from file uploader elements in repeating group cells

I’m building a class registration system for my nonprofit organization’s business development training programs. I need to build a dynamic list of files (fillable pdf forms) for students to download, complete, and upload as they apply for classes. The forms vary based on course, grant funding source, language, etc. I’ve built a repeating group (see screenshot) that offers a list of things (“Class Documents”) for download, and a file uploader element for each cell.

I’d like, when the submit button is clicked, for a thing (“Student Registration Document”) to be created for each uploaded file. I’m struggling to build the list to feed into a recursive workflow. I’ve tried but failed to add fileuploader values to a custom state, and likewise failed to add them to a secondary repeating group. Do they have to be individually saved to the database before they can be acted upon in bulk?

Here’s the setup I built (screenshots attached). The custom state is attached to the repeating group, using type “Files” and set as a list. The workflow tries to add each fileuploader element value using “this list:plus item” logic, but returns an error.

When I tried attaching the custom state to the page element, btw, it wouldn’t allow me to set up a “this list:plus item” value in the workflow. The page element itself isn’t offered as an option when identifying the value.


Ok NVM. I (as often happens) did a dumb thing. I have a data type “Files” that I accidentally selected in the custom state content type, instead of the basic type “file” that matches the fileuploader.

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