
Hello - ultimate goal is to create an attachment array in a specific sort order as a merged PDF file.
I first created three variables:
SortOrder - string pulled from the file names to get the order in which I want to create the attachment array
fileNames - array containing the SortOrder, fileName and fileContent
InitialOrderArray - array containing the SortOrder string
Following instructions (http://johnliu.net/blog/2018/12/how-to-implement-sort-with-microsoft-flow-in-3-actions-within-a-loop),
I created a 4th variable SortOrderArray : array containing the correct Sort Order
I now want to filter the fileNames array based on the SortedOrderArray in a loop to create an attachment array in the correct order.
But the Filter Array action is throwing this error. I also notice my fileContent in the fileNames variable is showing up null even though I can see there is content there.
Can anyone guide me on how to do this correctly?
post