I have an AI Builder Invoice processing model that is part of a bigger flow. The model is trained to extract table data from multiple pages, however, when I run the flow the model only extracts data from the first page. I am using a "Recognize text in an image or a PDF document" activity and iterating through the results to get the page number which is then used as the input for the "Extract information using AI model" activity. The flow should then create a line item in a list for each line of the table that it extracts, but when in the second iteration of the apply to each I can see that the extraction does not work.
When I run a test extraction to see if the second page worth of table data is being extracted, I can see that it is. The issue appears to be with extracting from multiple pages. What am I doing wrong?
EDIT: This issue appears when using a custom table, not the default table provided by the invoicing model template.