While automating business processes sometimes we might want to display specific information on the screen.
The most common activity we prefer to do the above is “Message Box”
(Here is user will be required to click “ok” to proceed further)
Is there any similar activity which can be used to do the same?
Yes, it’s “Callout” activity and here the user is not required to click “ok”
(It doesn’t expect any human input)
let’s see how to do that…!!!
Implementation using UiPath :
Let us implement a workflow to calculate Addition,Subtraction,Multiplication or Division of two values based on the user selection and display the result using “Callout” Activity.
Drag “Input Dialogue” activities into the designer panel and store the user provided inputs like value1, value2 and type of operation(Addition,Subtraction,Multiplication or Division)
Drag “Start Process” activity into the designer panel and pass the “Calculator App Path” to it, to open the calculator.
Drag “Click ” activities into the designer panel and pass the appropriate values to the selectors to select the value1,value2 and Type of operation on calculator app and finally click on Equals to symbol on calculator.
Drag “Get Atribute ” activity to retrieve the result from the calculator as show below.
Drag “Replace” activity and pass the required arguments to fetch only the digits from the above obtained result.
Here using regular expressions, we are replacing the all non-digits characters with a empty string.
Drag “Callout” activity to display the final output on the screen, set the required properties as shown below.
Don’t forget to set the “Timer” property of it which decides the message lifespan
Finally, execute the workflow to display the result.