Let us update our previous sequential flow, to include file attachments to notes of the case record, as part of the approval.
First, we need to add Initialize variable action and define an Array variable to store all the attachments details.
Next, we will use List records action, to fetch all the notes records associated with that particular case record.
Next, we will use Apply to each action to loop through all the attachments and use it to populate our attachments array variable defined in the previous step.
Now as the last step, we’d specify the attachment array variable for the attachment field inside the Start and wait for an approval action.
Now we are ready to save and test our flow.
Here our flow is waiting for approval from the user.
The approver receives the notification and can now review the attachments before responding.
Hope it helps..