Anchor Base is not giving the desired result

Hey
image

I want to capture date and Bill To through based. To get date I used get text activity. but instead of ate it is giving mw the INVOICE # as the output. I am attaching XAML file here. Kindly check the screenshot as well.

Main.xaml (11.1 KB) Session_10_exercise_1_NPO_1_perfect_match.pdf (95.7 KB)

image

1 Like

Hello @nashrahkhan,

  1. The issue was the selector was not dynamic.
  2. The anchor position property was not set. default is auto still if the position is fixed you can set anchor position, which is much more feasible to capture data.

Screenshot of message box:
MB

The zip file is attached for the project and the data is been extracted properly please check it.
anchor.zip (106.1 KB)

Thanks & Regards,
Raj Parsana

2 Likes

Hi @nashrahkhan,
You can also extract date and bill to using basic string manipulation too

Steps

  1. Use read pdf activities to read the pdf and store it in a string variable
  2. Using string operations i done the extraction of invoice date and bill to

Result i got

Try this way too

sample_12.zip (150.4 KB)
Hope it helps you

Regards

Nived N
Happy Automation

3 Likes