Digitizing document error

Hi.

Please can someone assist, My workflow was running fine however I have now received an error.

image

How can I solve this?

Hi @Aki1111 ,

The Error points out that the file is having an extension .ini, could you check if that is the case ?

You can also check by Debugging and confirm here.

Hi

Have a view on this thread with similar discussion

Cheers @Aki1111

Hi still the same issue

it shows Desktop.ini as the error?

@Aki1111 ,

I believe it is a hidden file that was fetched.

Maybe try also providing filters on the file types that are required to be fetched, that way we can avoid unnecessary file types :

Maybe also check for hidden files in the folder where you are trying to fetch the values.

Its of pdf

image

@Aki1111 ,

I believe you got Desktop.ini in the Debug when checked ? If so, it would mean there is a hidden file present in the folder that you are referring to.

Check manually if you can able to check if there is a hidden file in the folder, delete it if possible and check again.

Else you could let us know How you are fetching the files to be processed, we could add a Filter to fetch only required file types.

Hi I have checked,

This is how im fetching the files,

Hi,

I filtered the folder however the two pdf files are there is not getting picked up.

I dont know if that is the .ini file which is a pdf. Please advise?

@Aki1111 ,

Could you show us the Expression used in the Assign activity ?

Directory.GetFiles(“ToBeProcessed”)

@Aki1111 ,

Try using the below Expression :

Directory.GetFiles("ToBeProcessed","*.pdf")
1 Like

Okay this worked!

1 Like

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