Hi. I’m using the Compare PDF Documents activity to compare documents and it is working great. When reports are produced from our UAT environment they have UAT on the front page. I have created a Comparison Rule to exclude UAT using a RegexRule. When the comparison is done the word UAT is no longer highlighted as a difference in the Results file which is great, however the value of the Result Boolean still shows as False indicating the documents don’t match.
Is it possible to get the system to take into account the rules when determining the final boolean value? I have an if statement to write a log file and using the boolean value to make it easier to filter out the matching documents.
The documentation for the Compare PDF Documents activity states the following regardring Comparison Rules:
Could you perhaps check the results from the Differences output to verify that they do/do not contain what you are trying to make it ignore?
Perhaps just insert a Log Message in the end with a breakpoint, and go through the contents of the Differences via the Locals/Immediate panel for inspection.
Hi @SorenB . I changed the “Use Placeholder” setting for the Create Comparison Rule to False and it ignored the UAT difference and reported the documents as Matching.