i need help if i have 7 IF condition and all of them return True i want complete my task if one of them Return Fals i want send email and stop my task
as i know it can done by Switch but i don’t have exprience how it can be done in UIpath
If you need to perform actions from multiple outcome of a condition , then you can use switch. If you want to do some actions by checking your conditions and if it returns only 2 values, that is true or false, it’s better to go with multiple conditions in ‘If’ activity like Olgu said.
What multiple statements you want to use?
From what I see, currently you’re comparing dates in two distinct excel files.
You mean, you’re having 7 IF conditions for 7 different files?
Where are these statements?
It seems like you are checking the conditions in different loops with different excel application scopes and datatables. To check whether a number of conditions are satisfied or not, you can try something like this.
Please declare a variable with an initial value. Let it be token=0. Whenever your condition fails, assign some value to that variable. Finally check the variable inside a ‘if’ activity whether the value of the variable is the initial value or not. If it’s the initial value, then all the conditions are true, otherwise some condition has failed and you can execute the corresponding activities you want to do further.