Skip to main content
Nintex Community Menu Bar
Question

Repeating section data - assigning to specific files from an attachment field in NWC

  • March 24, 2025
  • 1 reply
  • 28 views
  • Translate

Forum|alt.badge.img+2

All,

Looking for some basic help here.

I have a separate repeating section which will gather 5 separate pieces of DATA for each specific attachment added to an attachment field within a group on the Nintex workflow form.

Can I then grab and assign that data to each attachment and write it all to a Library in SharePoint?

In effect if I have 3 attachments, ROW 1 data will be for file1, Row2 for file 2 and Row 3 for file 3.  But I haven’t a clue how to do this in a Lop for each in the workflow.

Did this topic help you find an answer to your question?

1 reply

SimonMuntz
Nintex Employee
Forum|alt.badge.img+22
  • Nintex Employee
  • 2475 replies
  • April 3, 2025

Hi ​@robert081171,

To achieve this solution we just loop through the repeating section.

First we add a loop action that targets the repeating section.
 

In the loop we get the file from the current row collection using a get item from collection action and store it in a File variable.
 

Next we store the file in a SharePoint document library using a store a file action.
The output of the action is an object. We need this for the next step.
 


Next we use an update item action to update the document with the meta data from the row on the form. We set a condition to update the item based on the item ID that is in the DocCreated object.
 

The workflow looks like this.
 

 

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings