Skip to main content

Posts

Showing posts from August, 2021

How to find least number in three given number using uipath studio?

This is actually same like other programming language or lets try to find different ways to do it.  First Method:  Logic : Compare two numbers and get the output then compare with the third number. Using If condition inside single Assign Activity and it will provide us the output in a variable. Lets look at the If condition first, how it works: If (Condition, True, False) Similarly if we want to use another if inside the first one, this is how we will use. If (Condition, True , False) If (Condition, If (Condition, True, False) , False) If (Condition,  If (Condition, True, False) ,  If (Condition, True, False) ) Lets take three numbers of datatype Int , and assign the values Then in output variable we declare the condition we defined above. Output= If ( _No < second_No , if (first_No < third_No, first_No, third_No) , if (second_No < third_No, second_No, third_No) ) It will give you the least number, similarly if you change the sign greater than > then it ...

Configure waiting for an email reply scenario in UiPath

Sometimes, we come across the situation where we have to send the email to some group and then they will cross check some data or fixing from their side and reply back on the same email with their approval, then only you have to proceed forward. In that case we can configure our code in such a way that it will check the outlook emails to wait for approval email to come. We are assuming that currently the wait time is 10 minutes and after that we will send the email again to the team/group and we will keep sending the email until they provide us approval. So, accordingly you can change your scenario or you can do little changes in this easy logic. The whole logic will look like this, its very simple and easy to understand. 1. First send the email to the concerned team and set the time after 10 minutes in one variable. Now we will check this variable with the current time to get to know that we have waited for 10 minutes or not. 2. Then we will assign on new List of Mail messages and wil...