Hello Uipath Community.
I have built a Flowchart, which selects multiple PDF Files inside a folder and it checks if it fulfills the condition or not.
Therefore, I have taken the word “Machine A” and “Machine B”, these will be counted and saved inside the variables (“Machine A” = wordCountA ; “Machine B” = wordCountB)
Now I want to fulfill the condition that the word count of Machine A is equal or greater than
Machine B, and if the condition succeeds, the result will be listed on an Excel File.
Therefore I would like to add an if activity or Flow decision with the condition:
"wordCountA >= wordCountB ".
Below a screenshot from the flowchart:
If the file fulfilled the condition, the result will be saved in an Excel List with the text “this document full files the condition”.
My Question is how I need to have the correct setup for the If condition to be working, because right now i get an error.
My guess is that I need to convert the wordcountA and wordCountB variable from IEnumerable to Int32, and after the IF condition back to IEnumerable .
How would be the best way to involve the convergation or do you maybe have another solution?
Thanks in advance