CLOSE BUT NO CIGAR.
So I tried to follow your instructions the best I could.
As you can see in the illustration, I created an attribute for "Attachment" called customFileName. I then put a button on the form that I clicked each time I added a file attachment.
Rule 1 on the button runs the GetAttachmentAttribute and grabs the Name. According to the qRules documentation, the results get returned to the "Result" node, so
Rule 2 set the value of the customFileName to concat(ICMfilename,Result).
For the first file I attached... PERFECT - just what I wanted.
BUT, the Result node did not change when I added a second attachment and clicked the button again. Therefore the second customFileName ends up the same as the first.
So what am I doing wrong ?? I feel like I'm so close I can taste it.
Quite frankly though, I really don't think the users are going to want or are going to remember to click a button each time they add a file.
I just did this to see if I could get close. The end game needs to somehow get wrapped up in the SUBMIT button that takes care of the whole Magilla.
thanks