I am new to using DataTables in UiPath and trying to build a DataTable to tally up results basd on an “If condition”. I have the “If condition” logic completed but need help with adding a row to the DataTable with the results.
The workflow process is as follows:
- An email is read.
- The email content is reviewed against a set of keywords from an excel reference list (columns are: Keyword and Order Topic).
- If there is a match with the keyword, it adds a “Write line” (for debugging), grabs the Order Topic and I want it to add the Order Topic and a “1” to a new DataTable (Columns are: Order Topic, Result).
- When finished, sum up results and highest Order Topic will be the result. (Doesnt need to be answered in this post as I will be using instructions from a previous post)
The final DataTable with the successful match results should look something like:
Order Topic, Result
Reference Table attached - Topic Reference List.xlsx (16.2 KB)
Sample of customer example 1 (food).pdf (17.4 KB)
UiPath Main Attached.xaml (20.2 KB)