Send a different Email depending on the value in a cell

So depending on the value inside the Homework grade column (0, 1, 2, 3) I want a different email text to be sent. How can I make UI Path recognize the different numbers in this column? Thanks

2023-01-11 (2)

@Veskata
Loop over the rows and use if conditionals for Homework Grade columns to send the email.

Hi @Veskata ,

Maybe you would require to use Switch Activity :
image

In this way, you would be having 4 different types of Emails prepared and each row would be directed to it’s corresponding case number.

Let us know if you are able to understand the above step.

Thank you, this worked perfectly fine

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.