Extracted pdf invoice file need to move to other folder

Hello Community,

I am having a small query. I have created the data extraction flow using Document understanding everything went well.

My query is once the PDF read and extracted data from the PDF i need to move those PDF into another folder. like wise need to do for the bunch of pdf in that downloaded folder. how/where can i keep the movie file activity in the flow.

can any one suggest me?





HI @chaitanyaKumar

You can keep the Move file Activity at the end of the process After the Write Range Activity

Regards
Gokul

Hi Gokul,

I tried as you sed,but no luck.

its not moving the file to the designated folder.

HI @chaitanyaKumar

You can check with the File path in the Move file Activity

Regards
Gokul

Hi Gokul,

i given the complete file path in the movie file activity. but no luck

**


**

Hi @chaitanyaKumar

in move file activity you should need to write in the form field is your for each (CurrentRow) and this should be inside the For each activity.

as i have noticed that you kept the file name which is incorrect.

if any further assistance please get back to me

Thanks&Regards
NaNi

Hi @chaitanyaKumar

  • Can you share the file path for both source and destination file.
  • Please check the condition is satisfied or not

Regards
Gokul

Hi @chaitanyaKumar

I have created a workflow for you. please check it out
and make the changes in your main workflow Move_file.xaml (9.7 KB)

if this isn’t working please let me know

Thanks&Regards
NaNi

Hi Tarun,

I am using pdf files in the path once the document extraction completed it need to send to the other folder as completed PDf.

can you please suggest on it.

Regards,
Chaitanya

Hi @chaitanyaKumar

Can you please share the sample workflow

Regards
Gokul

Hi @chaitanyaKumar,

did you pass the folder path inside the FileName variable?

if yes please share that workflow. let me check once

Thanks&Regards
NaNi

Hi Thiru,

please find the workflow for your better understanding.

Regards,
Chaitanya.

Test.xaml (33.4 KB)

In that flow once the extraction done from the downloaded path those pdf need to move to the another folder as completed after that i need to search for another pdf in the path that the way flow need to work.

can you please help me out on this way.

Regards,
Chaitanya

Hi @chaitanyaKumar

In move Activity You should use the \ After the folder name For both source and destination file

Hope it will help

Regards
Gokul

Hi @chaitanyaKumar,

i just now checked your workflow.

you misplaced the if condition. that condition activity inside the for each activity.

and also you have the updated datatable in the variable called ExData.

in that Move file activity inside the from field use CurrentRow.ToString
and don’t make any changes in the To field.

your write range also inside the for each. after assign activity keep write range
then if

i hope this will work.

Thanks@Regards
NaNi

okay can you please make that changes on the given workflow sheet.so that i can get the clear picture on it. and will change on the main code.

it will helpfull for it.

please check this out

Thanks&Regards
NaNi

Hi Thiru,

as per you suggested i tried it now and run the flow. still the pdf file is in the same Download path only.

Regards,
Chaitanya

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.