How To Use Callout Activity – In UiPath

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.

Step 1:
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)

UiPath Callout Activity Example 1.PNG

Step 2:
Drag “Start Process” activity into the designer panel and pass the “Calculator App Path” to it, to open the calculator.

Path: “C:\Windows\System32\calc.exe”

UiPath Callout Activity Example 2.PNG

Step 3:
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.

UiPath Callout Activity Example 3.PNG

Step 4:
Drag “Get Atribute” activity to retrieve the result from the calculator as show below.

UiPath Callout Activity Example 5

Step 5:
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.

UiPath Callout Activity Example 6UiPath Callout Activity Example 7

Step 6:
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

UiPath Callout Activity Example 8UiPath Callout Activity Example 9

Step 7:
Finally, execute the workflow to display the result 🙂

UiPath Callout Activity Example 10.png

Click here to download the Source Code…

Hope it has helped you…

Leave a Reply