RPAAdvanced OCR
Advanced OCR - For each query
Advanced OCR - For each query
Loops over every query answer found in an Advanced OCR result, running a block of actions for each query.
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"].query // query (Text)
actions["action-id"].result // query result (Text)
actions["action-id"].page // page (Number)
Field selection
- query — query (Text)
- result — query result (Text)
- page — page (Number)
Rules and Conditions
- The Analyze questions 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.