Anchor base activity error

I am using anchor base activity to extract data (a particular field) from a scanned pdf. Find element and get text action inside it. While designing it is correctly selecting the anchor and element (in find element and get text).

But always error message:
Anchor Base: Value does not fall within the expected range.

I tried with another pdf file with different template. Always giving same error msg for anchor base activity.

Can you pls help to solve this.

Thanks

Hi
Welcome to uipath community
Kindly ensure once whether the pdf is opened while doing anchor base
For that use START PROCESS activity and pass the file path of the pdf file as input to File name property
—then use anchor base activity

Cheers @Debleena_Dhar

Thank you @Palaniyappan. I have already done that - kept pdf file open, in actual size (100%). Also used start process. It is giving same error.

@Debleena_Dhar,

Please try putting the anchor base entity inside the Attach window scope.

1 Like

Hi @Debleena_Dhar

May be the pdf size is different when your indicating the anchor
Can you kindly re indicate it once in 100% size?
and also make sure AnchorPosition property of Anchor base activity is set to auto

yah is ATTACH WINDOW activity is used within which the ANCHOR BASE activity is placed
Cheers @Debleena_Dhar