Skip to main content
Nintex Community Menu Bar

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.

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.
 

 


Reply