Hi, I have a browser form (but just testing in filler right now) that has a repeating group. I use maps to submit to 3 SharePoint lists.
-
a full field list that has both nonrepeating, and repeating fields (including an attachment). Command: SubmitToSharePointList /submit=Sample_Request_Submit /mapping=mapping /dsname=AddAttachment
-
submits 1 field to a next number list. Command: SubmitToSharePointList /submit=Sample_Request_Submit /mapping=mappingnextnumber
-
a summary list and only contains fields that aren't in the repeating group. Command: SubmitToSharePointList /submit=Sample_Request_Submit /mapping=mappingsummar
My custom submit button runs these 3 submit command lines (the form is not actually saved) in the order above (although they have no relation, so order doesn't matter). A rule after the submit, clears all the nonrepeating fields and deletes the repeating group items and inserts one back. This is in the event that the user wants to submit another request without closing the form. Everything works great except if the user submits again (form not closed), the first (full list) map doesn't write to the list. The other 2 submits are fine. If the form is closed and reopened, it works fine (all 3 submits work).
I have tried removing the 2 submits that work (so only the full list submit is there...the one not working) and have the qrules error and success fields on the form. There is no error and the success is checked.
Is there any other place where I can see an error, or does anyone know some trick I am missing?
I did try another test. I removed the delete and insert for the repeating group... On the second submit, I didn't delete the existing item row (just had 1) but changed values in the fields. I got the error "Item does not exist. The page you selected contains an item that does not exist. It may have been deleted by another user.". I'm not sure what that means... (these are all new entries to a list, it's not looking up anything). I tried a third submit where I manually deleted the repeating item and added on back... got the same error. Not sure if this has anything to do with the original issue.
Thanks for any help!
SharePoint 2010 - InfoPath 2010 - qRules 6.1