Skip to main content
Roberty Studio
RPAAdvanced OCR

Advanced OCR - For each table

Advanced OCR - For each table

Loops over every table found in an Advanced OCR result, running a block of actions for each table.


Options​

Document analysis​

Select the Advanced OCR - Analyze Document action whose result will be used. When this action is inside an Advanced OCR - For each page action, the document of that action is used.

Page (optional)​

Enter the number of the page to be iterated. Inside an Advanced OCR - For each page action, the current page of that action is used.

Returns​

Javascript code​

js
actions["action-id"].headers // table headers (List)
actions["action-id"].headersSize // header size (Number)
actions["action-id"].rows // table rows (List)
actions["action-id"].rowsCount // table rows count (Number)
actions["action-id"].page // page (Number)

Field selection​

  • headers — table headers (List)
  • headersSize — header size (Number)
  • rows — table rows (List)
  • rowsCount — table rows count (Number)
  • page — page (Number)

Rules and Conditions​

  • The Analyze tables option must be enabled in the Advanced OCR - Analyze Document action.
  • Outside an Advanced OCR - For each page action, enter the page: without it, no item is iterated.