Hi Hilary!
I tried adding a concat function in the QRulesFilename part but it doesn't generate the filename.
My formula is: concat("SaveToSharePoint /url=http://server/site/docLibrary /xpath=/my:Form/my:group36/my:group37/my:group38/my:AttachSection /name=", concat(SystemGeneratedCode,"_",@qRulesNewFileName))
Checking the document library, it returns "SystemGeneratedCode_". Even if I upload multiple items, it just returns one "SystemGeneratedCode_" file.
I'm using this on a repeating table and can confirm that concat("SaveToSharePoint /url=http://server/site/docLibrary /xpath=/my:Form/my:group36/my:group37/my:group38/my:AttachSection /name=",@qRulesNewFileName) works even on multiple files uploaded at the same time.