Hello all, does anyone can help me with this error ? I cannot send the file because is confidential, but, from you experience, I’m trying to read the pdf file with REGEX, and the result is almost perfect, I don’t know why it cannot read the quantity from the pdf, I have the error on “Assign” activity. As you can see, only the “Qty” data is not read, the rest is ok. Maybe the RGX code is not ok? but I so that is match.
@ppr I will start to read all this debugging panels, maybe I will find something. but from what I see, I think that I don’t have an issue with RGX code, I think is something else.
As @Jobin_Joy mentioned, the error you are getting is because one of your variables is null. I would imagine it’s down to either row.item("Value") or ResultRGX being null, ResultRGX is more likely to be null.
Try running your workflow in debug, allow the code to throw the Object Reference error and then look at the Locals panel for your null variable. If it’s ResultRGX, you may need to alter your Regex pattern. If it’s row.item("Value"), check that your DataTable dtData is being picked up correctly and there is data present in the DataTable
Hi, I’m back with solving. . You are right about debugging, I saw that the RGX code was not ok how I build it and that’s why he cannot read what I need but now I changed it and is ok. Thank you very much for your time!