I am using Read PDF with OCR under that I am passing path on PDF and OCR(Tesseract) but after passing that I am getting error message.
Argument Image(2) error BC36532: Nested Function Does Not have same signature as delegated. for input Image section.
Is it coming on the ocr in image input?..if so remove it and check …and then if error persists press ctrl+k and create a variable in that image field
Here are a few things you can try to fix the error:
Check the input parameters for both the nested function and the delegate. Make sure that they match in terms of the number of parameters, data type, and order.
Ensure that the OCR library (Tesseract) is installed and configured correctly. Verify that the path to the OCR executable is correct and that it is accessible from your code.
Check the version of the OCR library you are using. Make sure that it is compatible with the version of the PDF library you are using.
Try updating your code editor or IDE to the latest version. Sometimes syntax errors can occur due to bugs or issues with older versions of software.
If none of the above solutions work, try seeking help from the software’s documentation or community forum. You may also consider hiring a developer to help you troubleshoot the issue.
A fix is to remove the Digitize Document activity and replace it with a new one copied into the workflow and just replace all of the values. For some reason upgrading to 2023.4.3 breaks the Image value, but copying in the new Digitize Document and replacing the OCR activity fixes it. @loginerror Is the UiPath dev team aware of this issue?
You just have to delete “Image” from the OCR activity then CTRL+K, type Image again, and press enter. Then the datatype of the Image variable will be correct.