Skip to main content
Roberty Studio
RPAAdvanced OCR

Advanced OCR - For each form

Advanced OCR - For each form

Loops over every key-value pair of the forms found in an Advanced OCR result.


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"].key // key (Text)
actions["action-id"].value // value (Text)
actions["action-id"].page // page (Number)

Field selection​

  • key — key (Text)
  • value — value (Text)
  • page — page (Number)

Rules and Conditions​

  • The Analyze forms 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.