Hi. I am looping through a SharePoint list and each item has a 'RequestId' and can have attachments.
For each item with attachments, I loop through the attachments.
For each attachment, I want to create a file called 'RequestId_DisplayName' where 'DisplayName' is the file name, it is available, no problem.
The problem is I cannot figure out how to get the 'RequestId' from the outer loop. I have spent hours on this!!!

Can someone please tell me what to put in the highlighted field that contains the single 'RequestId' from the outer for-each which is looping through the SharePoint list, filtering for items with attachments, then storing each attachment.