Hi, the workflow is currently reading an Excel file as below.
I would like to know, what are the ways to send out an email only once to Ben when there are more than one row for Ben.
Currently, I am using an approach suggested, which is :
However, I am not sure how to select the right “CC”.
(From p in DT.Select() where( From q in DT.Select() where q("Column Name").Equals(p("Column Name)) Select q).ToArray.Count>1 Select p).ToArray.CopyToDataTable()
The approach you are using will provide you the unique values only from the column HOD and not others, To get the email you can follow the approaches provided by my fellow mates over.
to take multiple columns you can separate them by , values like “HOD”,“Email”