JamesJHarrison
Nintex Newbie

Updating list items fed by repeating table

I have a Nintex repeating table in a form that I need written to another list.  I have been able to successfully write the contents of the repeating table to a list following the below post (Query XML and then do for each loop and collection operation to extract one value at a time, and then at the conclusion of each for each loop I create a new list item):

https://community.nintex.com/t5/Nintex-for-SharePoint/parse-xml-to-sharepoint-list/td-p/47503 

 

However, now that I have this working, I need the ability to support updates to the repeating table and I need these updates to update the separate list items.  My create item action saves the list item ID to a variable, but not sure how to write this back to a list item ID field I have in the repeating table.  Also not sure how to make it so that updates to the repeating table update the list.

 

I assume this topic has been covered by now, but haven't been able to find it.  Would appreciate being pointed in the right direction.  Thanks.

0 Kudos
Reply
2 Replies
SimonMuntz
Nintex Employee
Nintex Employee

Re: Updating list items fed by repeating table

Hi.
As you know the repeating section is stored as XML.
To write the Item ID variable back to the xml you would use the Update XML action.
0 Kudos
Reply
JamesJHarrison
Nintex Newbie

Re: Updating list items fed by repeating table

Thanks, I created a field in my repeating table called ListID and figured out how to populate it with the UpdateXML, but every time I tried to use that field to update the list, it wouldn't let me save it in a variable of type List Item ID.  Ran into so many roadblocks, I just built a workflow to delete all list items and then rewrite them all every time the XML data changes.  Are there any existing posts that provide step-by-step instructions of how to update the list items the repeating section writes to every time it changes?  I wasn't able to find any if they exist.

0 Kudos
Reply